// Polyscope already has built-in colormaps, but I already did implemented this file
#include "colormap.h"

using namespace geometrycentral;

// Color maps
std::vector<std::pair<double, Vector3>> HOT = {{0.0, {0.0416, 0.0, 0.0}},
                                               {0.002, {0.0468503704678, 0.0, 0.0}},
                                               {0.004, {0.0521007409355, 0.0, 0.0}},
                                               {0.006, {0.0573511114033, 0.0, 0.0}},
                                               {0.008, {0.062601481871, 0.0, 0.0}},
                                               {0.01, {0.0678518523388, 0.0, 0.0}},
                                               {0.012, {0.0731022228066, 0.0, 0.0}},
                                               {0.014, {0.0783525932743, 0.0, 0.0}},
                                               {0.016, {0.0836029637421, 0.0, 0.0}},
                                               {0.018000000000000002, {0.0888533342099, 0.0, 0.0}},
                                               {0.020000000000000004, {0.0941037046776, 0.0, 0.0}},
                                               {0.022000000000000006, {0.0993540751454, 0.0, 0.0}},
                                               {0.024000000000000007, {0.104604445613, 0.0, 0.0}},
                                               {0.02600000000000001, {0.109854816081, 0.0, 0.0}},
                                               {0.02800000000000001, {0.115105186549, 0.0, 0.0}},
                                               {0.030000000000000013, {0.120355557016, 0.0, 0.0}},
                                               {0.032000000000000015, {0.125605927484, 0.0, 0.0}},
                                               {0.034000000000000016, {0.130856297952, 0.0, 0.0}},
                                               {0.03600000000000002, {0.13610666842, 0.0, 0.0}},
                                               {0.03800000000000002, {0.141357038887, 0.0, 0.0}},
                                               {0.04000000000000002, {0.146607409355, 0.0, 0.0}},
                                               {0.04200000000000002, {0.151857779823, 0.0, 0.0}},
                                               {0.044000000000000025, {0.157108150291, 0.0, 0.0}},
                                               {0.04600000000000003, {0.162358520759, 0.0, 0.0}},
                                               {0.04800000000000003, {0.167608891226, 0.0, 0.0}},
                                               {0.05000000000000003, {0.172859261694, 0.0, 0.0}},
                                               {0.05200000000000003, {0.178109632162, 0.0, 0.0}},
                                               {0.054000000000000034, {0.18336000263, 0.0, 0.0}},
                                               {0.056000000000000036, {0.188610373097, 0.0, 0.0}},
                                               {0.05800000000000004, {0.193860743565, 0.0, 0.0}},
                                               {0.06000000000000004, {0.199111114033, 0.0, 0.0}},
                                               {0.06200000000000004, {0.204361484501, 0.0, 0.0}},
                                               {0.06400000000000004, {0.209611854968, 0.0, 0.0}},
                                               {0.06600000000000004, {0.214862225436, 0.0, 0.0}},
                                               {0.06800000000000005, {0.220112595904, 0.0, 0.0}},
                                               {0.07000000000000005, {0.225362966372, 0.0, 0.0}},
                                               {0.07200000000000005, {0.230613336839, 0.0, 0.0}},
                                               {0.07400000000000005, {0.235863707307, 0.0, 0.0}},
                                               {0.07600000000000005, {0.241114077775, 0.0, 0.0}},
                                               {0.07800000000000006, {0.246364448243, 0.0, 0.0}},
                                               {0.08000000000000006, {0.25161481871, 0.0, 0.0}},
                                               {0.08200000000000006, {0.256865189178, 0.0, 0.0}},
                                               {0.08400000000000006, {0.262115559646, 0.0, 0.0}},
                                               {0.08600000000000006, {0.267365930114, 0.0, 0.0}},
                                               {0.08800000000000006, {0.272616300582, 0.0, 0.0}},
                                               {0.09000000000000007, {0.277866671049, 0.0, 0.0}},
                                               {0.09200000000000007, {0.283117041517, 0.0, 0.0}},
                                               {0.09400000000000007, {0.288367411985, 0.0, 0.0}},
                                               {0.09600000000000007, {0.293617782453, 0.0, 0.0}},
                                               {0.09800000000000007, {0.29886815292, 0.0, 0.0}},
                                               {0.10000000000000007, {0.304118523388, 0.0, 0.0}},
                                               {0.10200000000000008, {0.309368893856, 0.0, 0.0}},
                                               {0.10400000000000008, {0.314619264324, 0.0, 0.0}},
                                               {0.10600000000000008, {0.319869634791, 0.0, 0.0}},
                                               {0.10800000000000008, {0.325120005259, 0.0, 0.0}},
                                               {0.11000000000000008, {0.330370375727, 0.0, 0.0}},
                                               {0.11200000000000009, {0.335620746195, 0.0, 0.0}},
                                               {0.11400000000000009, {0.340871116662, 0.0, 0.0}},
                                               {0.11600000000000009, {0.34612148713, 0.0, 0.0}},
                                               {0.11800000000000009, {0.351371857598, 0.0, 0.0}},
                                               {0.12000000000000009, {0.356622228066, 0.0, 0.0}},
                                               {0.1220000000000001, {0.361872598533, 0.0, 0.0}},
                                               {0.1240000000000001, {0.367122969001, 0.0, 0.0}},
                                               {0.12600000000000008, {0.372373339469, 0.0, 0.0}},
                                               {0.12800000000000009, {0.377623709937, 0.0, 0.0}},
                                               {0.1300000000000001, {0.382874080405, 0.0, 0.0}},
                                               {0.1320000000000001, {0.388124450872, 0.0, 0.0}},
                                               {0.1340000000000001, {0.39337482134, 0.0, 0.0}},
                                               {0.1360000000000001, {0.398625191808, 0.0, 0.0}},
                                               {0.1380000000000001, {0.403875562276, 0.0, 0.0}},
                                               {0.1400000000000001, {0.409125932743, 0.0, 0.0}},
                                               {0.1420000000000001, {0.414376303211, 0.0, 0.0}},
                                               {0.1440000000000001, {0.419626673679, 0.0, 0.0}},
                                               {0.1460000000000001, {0.424877044147, 0.0, 0.0}},
                                               {0.1480000000000001, {0.430127414614, 0.0, 0.0}},
                                               {0.1500000000000001, {0.435377785082, 0.0, 0.0}},
                                               {0.1520000000000001, {0.44062815555, 0.0, 0.0}},
                                               {0.1540000000000001, {0.445878526018, 0.0, 0.0}},
                                               {0.1560000000000001, {0.451128896485, 0.0, 0.0}},
                                               {0.1580000000000001, {0.456379266953, 0.0, 0.0}},
                                               {0.16000000000000011, {0.461629637421, 0.0, 0.0}},
                                               {0.16200000000000012, {0.466880007889, 0.0, 0.0}},
                                               {0.16400000000000012, {0.472130378356, 0.0, 0.0}},
                                               {0.16600000000000012, {0.477380748824, 0.0, 0.0}},
                                               {0.16800000000000012, {0.482631119292, 0.0, 0.0}},
                                               {0.17000000000000012, {0.48788148976, 0.0, 0.0}},
                                               {0.17200000000000013, {0.493131860228, 0.0, 0.0}},
                                               {0.17400000000000013, {0.498382230695, 0.0, 0.0}},
                                               {0.17600000000000013, {0.503632601163, 0.0, 0.0}},
                                               {0.17800000000000013, {0.508882971631, 0.0, 0.0}},
                                               {0.18000000000000013, {0.514133342099, 0.0, 0.0}},
                                               {0.18200000000000013, {0.519383712566, 0.0, 0.0}},
                                               {0.18400000000000014, {0.524634083034, 0.0, 0.0}},
                                               {0.18600000000000014, {0.529884453502, 0.0, 0.0}},
                                               {0.18800000000000014, {0.53513482397, 0.0, 0.0}},
                                               {0.19000000000000014, {0.540385194437, 0.0, 0.0}},
                                               {0.19200000000000014, {0.545635564905, 0.0, 0.0}},
                                               {0.19400000000000014, {0.550885935373, 0.0, 0.0}},
                                               {0.19600000000000015, {0.556136305841, 0.0, 0.0}},
                                               {0.19800000000000015, {0.561386676308, 0.0, 0.0}},
                                               {0.20000000000000015, {0.566637046776, 0.0, 0.0}},
                                               {0.20200000000000015, {0.571887417244, 0.0, 0.0}},
                                               {0.20400000000000015, {0.577137787712, 0.0, 0.0}},
                                               {0.20600000000000016, {0.582388158179, 0.0, 0.0}},
                                               {0.20800000000000016, {0.587638528647, 0.0, 0.0}},
                                               {0.21000000000000016, {0.592888899115, 0.0, 0.0}},
                                               {0.21200000000000016, {0.598139269583, 0.0, 0.0}},
                                               {0.21400000000000016, {0.603389640051, 0.0, 0.0}},
                                               {0.21600000000000016, {0.608640010518, 0.0, 0.0}},
                                               {0.21800000000000017, {0.613890380986, 0.0, 0.0}},
                                               {0.22000000000000017, {0.619140751454, 0.0, 0.0}},
                                               {0.22200000000000017, {0.624391121922, 0.0, 0.0}},
                                               {0.22400000000000017, {0.629641492389, 0.0, 0.0}},
                                               {0.22600000000000017, {0.634891862857, 0.0, 0.0}},
                                               {0.22800000000000017, {0.640142233325, 0.0, 0.0}},
                                               {0.23000000000000018, {0.645392603793, 0.0, 0.0}},
                                               {0.23200000000000018, {0.65064297426, 0.0, 0.0}},
                                               {0.23400000000000018, {0.655893344728, 0.0, 0.0}},
                                               {0.23600000000000018, {0.661143715196, 0.0, 0.0}},
                                               {0.23800000000000018, {0.666394085664, 0.0, 0.0}},
                                               {0.24000000000000019, {0.671644456131, 0.0, 0.0}},
                                               {0.2420000000000002, {0.676894826599, 0.0, 0.0}},
                                               {0.2440000000000002, {0.682145197067, 0.0, 0.0}},
                                               {0.2460000000000002, {0.687395567535, 0.0, 0.0}},
                                               {0.2480000000000002, {0.692645938002, 0.0, 0.0}},
                                               {0.25000000000000017, {0.69789630847, 0.0, 0.0}},
                                               {0.25200000000000017, {0.703146678938, 0.0, 0.0}},
                                               {0.25400000000000017, {0.708397049406, 0.0, 0.0}},
                                               {0.25600000000000017, {0.713647419874, 0.0, 0.0}},
                                               {0.2580000000000002, {0.718897790341, 0.0, 0.0}},
                                               {0.2600000000000002, {0.724148160809, 0.0, 0.0}},
                                               {0.2620000000000002, {0.729398531277, 0.0, 0.0}},
                                               {0.2640000000000002, {0.734648901745, 0.0, 0.0}},
                                               {0.2660000000000002, {0.739899272212, 0.0, 0.0}},
                                               {0.2680000000000002, {0.74514964268, 0.0, 0.0}},
                                               {0.2700000000000002, {0.750400013148, 0.0, 0.0}},
                                               {0.2720000000000002, {0.755650383616, 0.0, 0.0}},
                                               {0.2740000000000002, {0.760900754083, 0.0, 0.0}},
                                               {0.2760000000000002, {0.766151124551, 0.0, 0.0}},
                                               {0.2780000000000002, {0.771401495019, 0.0, 0.0}},
                                               {0.2800000000000002, {0.776651865487, 0.0, 0.0}},
                                               {0.2820000000000002, {0.781902235954, 0.0, 0.0}},
                                               {0.2840000000000002, {0.787152606422, 0.0, 0.0}},
                                               {0.2860000000000002, {0.79240297689, 0.0, 0.0}},
                                               {0.2880000000000002, {0.797653347358, 0.0, 0.0}},
                                               {0.2900000000000002, {0.802903717825, 0.0, 0.0}},
                                               {0.2920000000000002, {0.808154088293, 0.0, 0.0}},
                                               {0.2940000000000002, {0.813404458761, 0.0, 0.0}},
                                               {0.2960000000000002, {0.818654829229, 0.0, 0.0}},
                                               {0.2980000000000002, {0.823905199697, 0.0, 0.0}},
                                               {0.3000000000000002, {0.829155570164, 0.0, 0.0}},
                                               {0.3020000000000002, {0.834405940632, 0.0, 0.0}},
                                               {0.3040000000000002, {0.8396563111, 0.0, 0.0}},
                                               {0.3060000000000002, {0.844906681568, 0.0, 0.0}},
                                               {0.3080000000000002, {0.850157052035, 0.0, 0.0}},
                                               {0.3100000000000002, {0.855407422503, 0.0, 0.0}},
                                               {0.3120000000000002, {0.860657792971, 0.0, 0.0}},
                                               {0.3140000000000002, {0.865908163439, 0.0, 0.0}},
                                               {0.3160000000000002, {0.871158533906, 0.0, 0.0}},
                                               {0.3180000000000002, {0.876408904374, 0.0, 0.0}},
                                               {0.32000000000000023, {0.881659274842, 0.0, 0.0}},
                                               {0.32200000000000023, {0.88690964531, 0.0, 0.0}},
                                               {0.32400000000000023, {0.892160015777, 0.0, 0.0}},
                                               {0.32600000000000023, {0.897410386245, 0.0, 0.0}},
                                               {0.32800000000000024, {0.902660756713, 0.0, 0.0}},
                                               {0.33000000000000024, {0.907911127181, 0.0, 0.0}},
                                               {0.33200000000000024, {0.913161497648, 0.0, 0.0}},
                                               {0.33400000000000024, {0.918411868116, 0.0, 0.0}},
                                               {0.33600000000000024, {0.923662238584, 0.0, 0.0}},
                                               {0.33800000000000024, {0.928912609052, 0.0, 0.0}},
                                               {0.34000000000000025, {0.93416297952, 0.0, 0.0}},
                                               {0.34200000000000025, {0.939413349987, 0.0, 0.0}},
                                               {0.34400000000000025, {0.944663720455, 0.0, 0.0}},
                                               {0.34600000000000025, {0.949914090923, 0.0, 0.0}},
                                               {0.34800000000000025, {0.955164461391, 0.0, 0.0}},
                                               {0.35000000000000026, {0.960414831858, 0.0, 0.0}},
                                               {0.35200000000000026, {0.965665202326, 0.0, 0.0}},
                                               {0.35400000000000026, {0.970915572794, 0.0, 0.0}},
                                               {0.35600000000000026, {0.976165943262, 0.0, 0.0}},
                                               {0.35800000000000026, {0.981416313729, 0.0, 0.0}},
                                               {0.36000000000000026, {0.986666684197, 0.0, 0.0}},
                                               {0.36200000000000027, {0.991917054665, 0.0, 0.0}},
                                               {0.36400000000000027, {0.997167425133, 0.0, 0.0}},
                                               {0.36600000000000027, {1.0, 0.00241762107137, 0.0}},
                                               {0.36800000000000027, {1.0, 0.00766761254013, 0.0}},
                                               {0.3700000000000003, {1.0, 0.0129176040089, 0.0}},
                                               {0.3720000000000003, {1.0, 0.0181675954777, 0.0}},
                                               {0.3740000000000003, {1.0, 0.0234175869464, 0.0}},
                                               {0.3760000000000003, {1.0, 0.0286675784152, 0.0}},
                                               {0.3780000000000003, {1.0, 0.0339175698839, 0.0}},
                                               {0.3800000000000003, {1.0, 0.0391675613527, 0.0}},
                                               {0.3820000000000003, {1.0, 0.0444175528215, 0.0}},
                                               {0.3840000000000003, {1.0, 0.0496675442902, 0.0}},
                                               {0.3860000000000003, {1.0, 0.054917535759, 0.0}},
                                               {0.3880000000000003, {1.0, 0.0601675272278, 0.0}},
                                               {0.3900000000000003, {1.0, 0.0654175186965, 0.0}},
                                               {0.3920000000000003, {1.0, 0.0706675101653, 0.0}},
                                               {0.3940000000000003, {1.0, 0.0759175016341, 0.0}},
                                               {0.3960000000000003, {1.0, 0.0811674931028, 0.0}},
                                               {0.3980000000000003, {1.0, 0.0864174845716, 0.0}},
                                               {0.4000000000000003, {1.0, 0.0916674760404, 0.0}},
                                               {0.4020000000000003, {1.0, 0.0969174675091, 0.0}},
                                               {0.4040000000000003, {1.0, 0.102167458978, 0.0}},
                                               {0.4060000000000003, {1.0, 0.107417450447, 0.0}},
                                               {0.4080000000000003, {1.0, 0.112667441915, 0.0}},
                                               {0.4100000000000003, {1.0, 0.117917433384, 0.0}},
                                               {0.4120000000000003, {1.0, 0.123167424853, 0.0}},
                                               {0.4140000000000003, {1.0, 0.128417416322, 0.0}},
                                               {0.4160000000000003, {1.0, 0.13366740779, 0.0}},
                                               {0.4180000000000003, {1.0, 0.138917399259, 0.0}},
                                               {0.4200000000000003, {1.0, 0.144167390728, 0.0}},
                                               {0.4220000000000003, {1.0, 0.149417382197, 0.0}},
                                               {0.4240000000000003, {1.0, 0.154667373666, 0.0}},
                                               {0.4260000000000003, {1.0, 0.159917365134, 0.0}},
                                               {0.4280000000000003, {1.0, 0.165167356603, 0.0}},
                                               {0.4300000000000003, {1.0, 0.170417348072, 0.0}},
                                               {0.43200000000000033, {1.0, 0.175667339541, 0.0}},
                                               {0.43400000000000033, {1.0, 0.180917331009, 0.0}},
                                               {0.43600000000000033, {1.0, 0.186167322478, 0.0}},
                                               {0.43800000000000033, {1.0, 0.191417313947, 0.0}},
                                               {0.44000000000000034, {1.0, 0.196667305416, 0.0}},
                                               {0.44200000000000034, {1.0, 0.201917296884, 0.0}},
                                               {0.44400000000000034, {1.0, 0.207167288353, 0.0}},
                                               {0.44600000000000034, {1.0, 0.212417279822, 0.0}},
                                               {0.44800000000000034, {1.0, 0.217667271291, 0.0}},
                                               {0.45000000000000034, {1.0, 0.222917262759, 0.0}},
                                               {0.45200000000000035, {1.0, 0.228167254228, 0.0}},
                                               {0.45400000000000035, {1.0, 0.233417245697, 0.0}},
                                               {0.45600000000000035, {1.0, 0.238667237166, 0.0}},
                                               {0.45800000000000035, {1.0, 0.243917228635, 0.0}},
                                               {0.46000000000000035, {1.0, 0.249167220103, 0.0}},
                                               {0.46200000000000035, {1.0, 0.254417211572, 0.0}},
                                               {0.46400000000000036, {1.0, 0.259667203041, 0.0}},
                                               {0.46600000000000036, {1.0, 0.26491719451, 0.0}},
                                               {0.46800000000000036, {1.0, 0.270167185978, 0.0}},
                                               {0.47000000000000036, {1.0, 0.275417177447, 0.0}},
                                               {0.47200000000000036, {1.0, 0.280667168916, 0.0}},
                                               {0.47400000000000037, {1.0, 0.285917160385, 0.0}},
                                               {0.47600000000000037, {1.0, 0.291167151853, 0.0}},
                                               {0.47800000000000037, {1.0, 0.296417143322, 0.0}},
                                               {0.48000000000000037, {1.0, 0.301667134791, 0.0}},
                                               {0.4820000000000004, {1.0, 0.30691712626, 0.0}},
                                               {0.4840000000000004, {1.0, 0.312167117728, 0.0}},
                                               {0.4860000000000004, {1.0, 0.317417109197, 0.0}},
                                               {0.4880000000000004, {1.0, 0.322667100666, 0.0}},
                                               {0.4900000000000004, {1.0, 0.327917092135, 0.0}},
                                               {0.4920000000000004, {1.0, 0.333167083603, 0.0}},
                                               {0.4940000000000004, {1.0, 0.338417075072, 0.0}},
                                               {0.4960000000000004, {1.0, 0.343667066541, 0.0}},
                                               {0.4980000000000004, {1.0, 0.34891705801, 0.0}},
                                               {0.5000000000000003, {1.0, 0.354167049479, 0.0}},
                                               {0.5020000000000003, {1.0, 0.359417040947, 0.0}},
                                               {0.5040000000000003, {1.0, 0.364667032416, 0.0}},
                                               {0.5060000000000003, {1.0, 0.369917023885, 0.0}},
                                               {0.5080000000000003, {1.0, 0.375167015354, 0.0}},
                                               {0.5100000000000003, {1.0, 0.380417006822, 0.0}},
                                               {0.5120000000000003, {1.0, 0.385666998291, 0.0}},
                                               {0.5140000000000003, {1.0, 0.39091698976, 0.0}},
                                               {0.5160000000000003, {1.0, 0.396166981229, 0.0}},
                                               {0.5180000000000003, {1.0, 0.401416972697, 0.0}},
                                               {0.5200000000000004, {1.0, 0.406666964166, 0.0}},
                                               {0.5220000000000004, {1.0, 0.411916955635, 0.0}},
                                               {0.5240000000000004, {1.0, 0.417166947104, 0.0}},
                                               {0.5260000000000004, {1.0, 0.422416938572, 0.0}},
                                               {0.5280000000000004, {1.0, 0.427666930041, 0.0}},
                                               {0.5300000000000004, {1.0, 0.43291692151, 0.0}},
                                               {0.5320000000000004, {1.0, 0.438166912979, 0.0}},
                                               {0.5340000000000004, {1.0, 0.443416904448, 0.0}},
                                               {0.5360000000000004, {1.0, 0.448666895916, 0.0}},
                                               {0.5380000000000004, {1.0, 0.453916887385, 0.0}},
                                               {0.5400000000000004, {1.0, 0.459166878854, 0.0}},
                                               {0.5420000000000004, {1.0, 0.464416870323, 0.0}},
                                               {0.5440000000000004, {1.0, 0.469666861791, 0.0}},
                                               {0.5460000000000004, {1.0, 0.47491685326, 0.0}},
                                               {0.5480000000000004, {1.0, 0.480166844729, 0.0}},
                                               {0.5500000000000004, {1.0, 0.485416836198, 0.0}},
                                               {0.5520000000000004, {1.0, 0.490666827666, 0.0}},
                                               {0.5540000000000004, {1.0, 0.495916819135, 0.0}},
                                               {0.5560000000000004, {1.0, 0.501166810604, 0.0}},
                                               {0.5580000000000004, {1.0, 0.506416802073, 0.0}},
                                               {0.5600000000000004, {1.0, 0.511666793541, 0.0}},
                                               {0.5620000000000004, {1.0, 0.51691678501, 0.0}},
                                               {0.5640000000000004, {1.0, 0.522166776479, 0.0}},
                                               {0.5660000000000004, {1.0, 0.527416767948, 0.0}},
                                               {0.5680000000000004, {1.0, 0.532666759417, 0.0}},
                                               {0.5700000000000004, {1.0, 0.537916750885, 0.0}},
                                               {0.5720000000000004, {1.0, 0.543166742354, 0.0}},
                                               {0.5740000000000004, {1.0, 0.548416733823, 0.0}},
                                               {0.5760000000000004, {1.0, 0.553666725292, 0.0}},
                                               {0.5780000000000004, {1.0, 0.55891671676, 0.0}},
                                               {0.5800000000000004, {1.0, 0.564166708229, 0.0}},
                                               {0.5820000000000004, {1.0, 0.569416699698, 0.0}},
                                               {0.5840000000000004, {1.0, 0.574666691167, 0.0}},
                                               {0.5860000000000004, {1.0, 0.579916682635, 0.0}},
                                               {0.5880000000000004, {1.0, 0.585166674104, 0.0}},
                                               {0.5900000000000004, {1.0, 0.590416665573, 0.0}},
                                               {0.5920000000000004, {1.0, 0.595666657042, 0.0}},
                                               {0.5940000000000004, {1.0, 0.60091664851, 0.0}},
                                               {0.5960000000000004, {1.0, 0.606166639979, 0.0}},
                                               {0.5980000000000004, {1.0, 0.611416631448, 0.0}},
                                               {0.6000000000000004, {1.0, 0.616666622917, 0.0}},
                                               {0.6020000000000004, {1.0, 0.621916614386, 0.0}},
                                               {0.6040000000000004, {1.0, 0.627166605854, 0.0}},
                                               {0.6060000000000004, {1.0, 0.632416597323, 0.0}},
                                               {0.6080000000000004, {1.0, 0.637666588792, 0.0}},
                                               {0.6100000000000004, {1.0, 0.642916580261, 0.0}},
                                               {0.6120000000000004, {1.0, 0.648166571729, 0.0}},
                                               {0.6140000000000004, {1.0, 0.653416563198, 0.0}},
                                               {0.6160000000000004, {1.0, 0.658666554667, 0.0}},
                                               {0.6180000000000004, {1.0, 0.663916546136, 0.0}},
                                               {0.6200000000000004, {1.0, 0.669166537604, 0.0}},
                                               {0.6220000000000004, {1.0, 0.674416529073, 0.0}},
                                               {0.6240000000000004, {1.0, 0.679666520542, 0.0}},
                                               {0.6260000000000004, {1.0, 0.684916512011, 0.0}},
                                               {0.6280000000000004, {1.0, 0.690166503479, 0.0}},
                                               {0.6300000000000004, {1.0, 0.695416494948, 0.0}},
                                               {0.6320000000000005, {1.0, 0.700666486417, 0.0}},
                                               {0.6340000000000005, {1.0, 0.705916477886, 0.0}},
                                               {0.6360000000000005, {1.0, 0.711166469354, 0.0}},
                                               {0.6380000000000005, {1.0, 0.716416460823, 0.0}},
                                               {0.6400000000000005, {1.0, 0.721666452292, 0.0}},
                                               {0.6420000000000005, {1.0, 0.726916443761, 0.0}},
                                               {0.6440000000000005, {1.0, 0.73216643523, 0.0}},
                                               {0.6460000000000005, {1.0, 0.737416426698, 0.0}},
                                               {0.6480000000000005, {1.0, 0.742666418167, 0.0}},
                                               {0.6500000000000005, {1.0, 0.747916409636, 0.0}},
                                               {0.6520000000000005, {1.0, 0.753166401105, 0.0}},
                                               {0.6540000000000005, {1.0, 0.758416392573, 0.0}},
                                               {0.6560000000000005, {1.0, 0.763666384042, 0.0}},
                                               {0.6580000000000005, {1.0, 0.768916375511, 0.0}},
                                               {0.6600000000000005, {1.0, 0.77416636698, 0.0}},
                                               {0.6620000000000005, {1.0, 0.779416358448, 0.0}},
                                               {0.6640000000000005, {1.0, 0.784666349917, 0.0}},
                                               {0.6660000000000005, {1.0, 0.789916341386, 0.0}},
                                               {0.6680000000000005, {1.0, 0.795166332855, 0.0}},
                                               {0.6700000000000005, {1.0, 0.800416324323, 0.0}},
                                               {0.6720000000000005, {1.0, 0.805666315792, 0.0}},
                                               {0.6740000000000005, {1.0, 0.810916307261, 0.0}},
                                               {0.6760000000000005, {1.0, 0.81616629873, 0.0}},
                                               {0.6780000000000005, {1.0, 0.821416290199, 0.0}},
                                               {0.6800000000000005, {1.0, 0.826666281667, 0.0}},
                                               {0.6820000000000005, {1.0, 0.831916273136, 0.0}},
                                               {0.6840000000000005, {1.0, 0.837166264605, 0.0}},
                                               {0.6860000000000005, {1.0, 0.842416256074, 0.0}},
                                               {0.6880000000000005, {1.0, 0.847666247542, 0.0}},
                                               {0.6900000000000005, {1.0, 0.852916239011, 0.0}},
                                               {0.6920000000000005, {1.0, 0.85816623048, 0.0}},
                                               {0.6940000000000005, {1.0, 0.863416221949, 0.0}},
                                               {0.6960000000000005, {1.0, 0.868666213417, 0.0}},
                                               {0.6980000000000005, {1.0, 0.873916204886, 0.0}},
                                               {0.7000000000000005, {1.0, 0.879166196355, 0.0}},
                                               {0.7020000000000005, {1.0, 0.884416187824, 0.0}},
                                               {0.7040000000000005, {1.0, 0.889666179292, 0.0}},
                                               {0.7060000000000005, {1.0, 0.894916170761, 0.0}},
                                               {0.7080000000000005, {1.0, 0.90016616223, 0.0}},
                                               {0.7100000000000005, {1.0, 0.905416153699, 0.0}},
                                               {0.7120000000000005, {1.0, 0.910666145168, 0.0}},
                                               {0.7140000000000005, {1.0, 0.915916136636, 0.0}},
                                               {0.7160000000000005, {1.0, 0.921166128105, 0.0}},
                                               {0.7180000000000005, {1.0, 0.926416119574, 0.0}},
                                               {0.7200000000000005, {1.0, 0.931666111043, 0.0}},
                                               {0.7220000000000005, {1.0, 0.936916102511, 0.0}},
                                               {0.7240000000000005, {1.0, 0.94216609398, 0.0}},
                                               {0.7260000000000005, {1.0, 0.947416085449, 0.0}},
                                               {0.7280000000000005, {1.0, 0.952666076918, 0.0}},
                                               {0.7300000000000005, {1.0, 0.957916068386, 0.0}},
                                               {0.7320000000000005, {1.0, 0.963166059855, 0.0}},
                                               {0.7340000000000005, {1.0, 0.968416051324, 0.0}},
                                               {0.7360000000000005, {1.0, 0.973666042793, 0.0}},
                                               {0.7380000000000005, {1.0, 0.978916034261, 0.0}},
                                               {0.7400000000000005, {1.0, 0.98416602573, 0.0}},
                                               {0.7420000000000005, {1.0, 0.989416017199, 0.0}},
                                               {0.7440000000000005, {1.0, 0.994666008668, 0.0}},
                                               {0.7460000000000006, {1.0, 0.999916000136, 0.0}},
                                               {0.7480000000000006, {1.0, 1.0, 0.00774900774901}},
                                               {0.7500000000000006, {1.0, 1.0, 0.015624015624}},
                                               {0.7520000000000006, {1.0, 1.0, 0.023499023499}},
                                               {0.7540000000000006, {1.0, 1.0, 0.031374031374}},
                                               {0.7560000000000006, {1.0, 1.0, 0.039249039249}},
                                               {0.7580000000000006, {1.0, 1.0, 0.047124047124}},
                                               {0.7600000000000006, {1.0, 1.0, 0.0549990549991}},
                                               {0.7620000000000006, {1.0, 1.0, 0.0628740628741}},
                                               {0.7640000000000006, {1.0, 1.0, 0.0707490707491}},
                                               {0.7660000000000006, {1.0, 1.0, 0.0786240786241}},
                                               {0.7680000000000006, {1.0, 1.0, 0.0864990864991}},
                                               {0.7700000000000006, {1.0, 1.0, 0.0943740943741}},
                                               {0.7720000000000006, {1.0, 1.0, 0.102249102249}},
                                               {0.7740000000000006, {1.0, 1.0, 0.110124110124}},
                                               {0.7760000000000006, {1.0, 1.0, 0.117999117999}},
                                               {0.7780000000000006, {1.0, 1.0, 0.125874125874}},
                                               {0.7800000000000006, {1.0, 1.0, 0.133749133749}},
                                               {0.7820000000000006, {1.0, 1.0, 0.141624141624}},
                                               {0.7840000000000006, {1.0, 1.0, 0.149499149499}},
                                               {0.7860000000000006, {1.0, 1.0, 0.157374157374}},
                                               {0.7880000000000006, {1.0, 1.0, 0.165249165249}},
                                               {0.7900000000000006, {1.0, 1.0, 0.173124173124}},
                                               {0.7920000000000006, {1.0, 1.0, 0.180999180999}},
                                               {0.7940000000000006, {1.0, 1.0, 0.188874188874}},
                                               {0.7960000000000006, {1.0, 1.0, 0.196749196749}},
                                               {0.7980000000000006, {1.0, 1.0, 0.204624204624}},
                                               {0.8000000000000006, {1.0, 1.0, 0.212499212499}},
                                               {0.8020000000000006, {1.0, 1.0, 0.220374220374}},
                                               {0.8040000000000006, {1.0, 1.0, 0.228249228249}},
                                               {0.8060000000000006, {1.0, 1.0, 0.236124236124}},
                                               {0.8080000000000006, {1.0, 1.0, 0.243999243999}},
                                               {0.8100000000000006, {1.0, 1.0, 0.251874251874}},
                                               {0.8120000000000006, {1.0, 1.0, 0.259749259749}},
                                               {0.8140000000000006, {1.0, 1.0, 0.267624267624}},
                                               {0.8160000000000006, {1.0, 1.0, 0.275499275499}},
                                               {0.8180000000000006, {1.0, 1.0, 0.283374283374}},
                                               {0.8200000000000006, {1.0, 1.0, 0.291249291249}},
                                               {0.8220000000000006, {1.0, 1.0, 0.299124299124}},
                                               {0.8240000000000006, {1.0, 1.0, 0.306999306999}},
                                               {0.8260000000000006, {1.0, 1.0, 0.314874314874}},
                                               {0.8280000000000006, {1.0, 1.0, 0.322749322749}},
                                               {0.8300000000000006, {1.0, 1.0, 0.330624330624}},
                                               {0.8320000000000006, {1.0, 1.0, 0.338499338499}},
                                               {0.8340000000000006, {1.0, 1.0, 0.346374346374}},
                                               {0.8360000000000006, {1.0, 1.0, 0.354249354249}},
                                               {0.8380000000000006, {1.0, 1.0, 0.362124362124}},
                                               {0.8400000000000006, {1.0, 1.0, 0.369999369999}},
                                               {0.8420000000000006, {1.0, 1.0, 0.377874377874}},
                                               {0.8440000000000006, {1.0, 1.0, 0.385749385749}},
                                               {0.8460000000000006, {1.0, 1.0, 0.393624393624}},
                                               {0.8480000000000006, {1.0, 1.0, 0.401499401499}},
                                               {0.8500000000000006, {1.0, 1.0, 0.409374409374}},
                                               {0.8520000000000006, {1.0, 1.0, 0.417249417249}},
                                               {0.8540000000000006, {1.0, 1.0, 0.425124425124}},
                                               {0.8560000000000006, {1.0, 1.0, 0.432999432999}},
                                               {0.8580000000000007, {1.0, 1.0, 0.440874440874}},
                                               {0.8600000000000007, {1.0, 1.0, 0.448749448749}},
                                               {0.8620000000000007, {1.0, 1.0, 0.456624456624}},
                                               {0.8640000000000007, {1.0, 1.0, 0.464499464499}},
                                               {0.8660000000000007, {1.0, 1.0, 0.472374472374}},
                                               {0.8680000000000007, {1.0, 1.0, 0.480249480249}},
                                               {0.8700000000000007, {1.0, 1.0, 0.488124488124}},
                                               {0.8720000000000007, {1.0, 1.0, 0.495999495999}},
                                               {0.8740000000000007, {1.0, 1.0, 0.503874503875}},
                                               {0.8760000000000007, {1.0, 1.0, 0.51174951175}},
                                               {0.8780000000000007, {1.0, 1.0, 0.519624519625}},
                                               {0.8800000000000007, {1.0, 1.0, 0.5274995275}},
                                               {0.8820000000000007, {1.0, 1.0, 0.535374535375}},
                                               {0.8840000000000007, {1.0, 1.0, 0.54324954325}},
                                               {0.8860000000000007, {1.0, 1.0, 0.551124551125}},
                                               {0.8880000000000007, {1.0, 1.0, 0.558999559}},
                                               {0.8900000000000007, {1.0, 1.0, 0.566874566875}},
                                               {0.8920000000000007, {1.0, 1.0, 0.57474957475}},
                                               {0.8940000000000007, {1.0, 1.0, 0.582624582625}},
                                               {0.8960000000000007, {1.0, 1.0, 0.5904995905}},
                                               {0.8980000000000007, {1.0, 1.0, 0.598374598375}},
                                               {0.9000000000000007, {1.0, 1.0, 0.60624960625}},
                                               {0.9020000000000007, {1.0, 1.0, 0.614124614125}},
                                               {0.9040000000000007, {1.0, 1.0, 0.621999622}},
                                               {0.9060000000000007, {1.0, 1.0, 0.629874629875}},
                                               {0.9080000000000007, {1.0, 1.0, 0.63774963775}},
                                               {0.9100000000000007, {1.0, 1.0, 0.645624645625}},
                                               {0.9120000000000007, {1.0, 1.0, 0.6534996535}},
                                               {0.9140000000000007, {1.0, 1.0, 0.661374661375}},
                                               {0.9160000000000007, {1.0, 1.0, 0.66924966925}},
                                               {0.9180000000000007, {1.0, 1.0, 0.677124677125}},
                                               {0.9200000000000007, {1.0, 1.0, 0.684999685}},
                                               {0.9220000000000007, {1.0, 1.0, 0.692874692875}},
                                               {0.9240000000000007, {1.0, 1.0, 0.70074970075}},
                                               {0.9260000000000007, {1.0, 1.0, 0.708624708625}},
                                               {0.9280000000000007, {1.0, 1.0, 0.7164997165}},
                                               {0.9300000000000007, {1.0, 1.0, 0.724374724375}},
                                               {0.9320000000000007, {1.0, 1.0, 0.73224973225}},
                                               {0.9340000000000007, {1.0, 1.0, 0.740124740125}},
                                               {0.9360000000000007, {1.0, 1.0, 0.747999748}},
                                               {0.9380000000000007, {1.0, 1.0, 0.755874755875}},
                                               {0.9400000000000007, {1.0, 1.0, 0.76374976375}},
                                               {0.9420000000000007, {1.0, 1.0, 0.771624771625}},
                                               {0.9440000000000007, {1.0, 1.0, 0.7794997795}},
                                               {0.9460000000000007, {1.0, 1.0, 0.787374787375}},
                                               {0.9480000000000007, {1.0, 1.0, 0.79524979525}},
                                               {0.9500000000000007, {1.0, 1.0, 0.803124803125}},
                                               {0.9520000000000007, {1.0, 1.0, 0.810999811}},
                                               {0.9540000000000007, {1.0, 1.0, 0.818874818875}},
                                               {0.9560000000000007, {1.0, 1.0, 0.82674982675}},
                                               {0.9580000000000007, {1.0, 1.0, 0.834624834625}},
                                               {0.9600000000000007, {1.0, 1.0, 0.8424998425}},
                                               {0.9620000000000007, {1.0, 1.0, 0.850374850375}},
                                               {0.9640000000000007, {1.0, 1.0, 0.85824985825}},
                                               {0.9660000000000007, {1.0, 1.0, 0.866124866125}},
                                               {0.9680000000000007, {1.0, 1.0, 0.873999874}},
                                               {0.9700000000000008, {1.0, 1.0, 0.881874881875}},
                                               {0.9720000000000008, {1.0, 1.0, 0.88974988975}},
                                               {0.9740000000000008, {1.0, 1.0, 0.897624897625}},
                                               {0.9760000000000008, {1.0, 1.0, 0.9054999055}},
                                               {0.9780000000000008, {1.0, 1.0, 0.913374913375}},
                                               {0.9800000000000008, {1.0, 1.0, 0.92124992125}},
                                               {0.9820000000000008, {1.0, 1.0, 0.929124929125}},
                                               {0.9840000000000008, {1.0, 1.0, 0.936999937}},
                                               {0.9860000000000008, {1.0, 1.0, 0.944874944875}},
                                               {0.9880000000000008, {1.0, 1.0, 0.95274995275}},
                                               {0.9900000000000008, {1.0, 1.0, 0.960624960625}},
                                               {0.9920000000000008, {1.0, 1.0, 0.9684999685}},
                                               {0.9940000000000008, {1.0, 1.0, 0.976374976375}},
                                               {0.9960000000000008, {1.0, 1.0, 0.98424998425}},
                                               {0.9980000000000008, {1.0, 1.0, 0.992124992125}},
                                               {1.0000000000000007, {1.0, 1.0, 1.0}}};

std::vector<std::pair<double, Vector3>> SEISMIC = {
    {0.000, {0.000, 0.000, 0.300}}, {0.002, {0.000, 0.000, 0.300}}, {0.004, {0.000, 0.000, 0.311}},
    {0.006, {0.000, 0.000, 0.311}}, {0.008, {0.000, 0.000, 0.322}}, {0.010, {0.000, 0.000, 0.322}},
    {0.012, {0.000, 0.000, 0.333}}, {0.014, {0.000, 0.000, 0.333}}, {0.016, {0.000, 0.000, 0.344}},
    {0.018, {0.000, 0.000, 0.344}}, {0.020, {0.000, 0.000, 0.355}}, {0.022, {0.000, 0.000, 0.355}},
    {0.023, {0.000, 0.000, 0.366}}, {0.025, {0.000, 0.000, 0.366}}, {0.027, {0.000, 0.000, 0.377}},
    {0.029, {0.000, 0.000, 0.377}}, {0.031, {0.000, 0.000, 0.388}}, {0.033, {0.000, 0.000, 0.388}},
    {0.035, {0.000, 0.000, 0.399}}, {0.037, {0.000, 0.000, 0.399}}, {0.039, {0.000, 0.000, 0.410}},
    {0.041, {0.000, 0.000, 0.410}}, {0.043, {0.000, 0.000, 0.421}}, {0.045, {0.000, 0.000, 0.421}},
    {0.047, {0.000, 0.000, 0.432}}, {0.049, {0.000, 0.000, 0.432}}, {0.051, {0.000, 0.000, 0.443}},
    {0.053, {0.000, 0.000, 0.443}}, {0.055, {0.000, 0.000, 0.454}}, {0.057, {0.000, 0.000, 0.454}},
    {0.059, {0.000, 0.000, 0.465}}, {0.061, {0.000, 0.000, 0.465}}, {0.063, {0.000, 0.000, 0.476}},
    {0.065, {0.000, 0.000, 0.476}}, {0.067, {0.000, 0.000, 0.487}}, {0.068, {0.000, 0.000, 0.487}},
    {0.070, {0.000, 0.000, 0.498}}, {0.072, {0.000, 0.000, 0.498}}, {0.074, {0.000, 0.000, 0.509}},
    {0.076, {0.000, 0.000, 0.509}}, {0.078, {0.000, 0.000, 0.520}}, {0.080, {0.000, 0.000, 0.520}},
    {0.082, {0.000, 0.000, 0.531}}, {0.084, {0.000, 0.000, 0.531}}, {0.086, {0.000, 0.000, 0.542}},
    {0.088, {0.000, 0.000, 0.542}}, {0.090, {0.000, 0.000, 0.553}}, {0.092, {0.000, 0.000, 0.553}},
    {0.094, {0.000, 0.000, 0.564}}, {0.096, {0.000, 0.000, 0.564}}, {0.098, {0.000, 0.000, 0.575}},
    {0.100, {0.000, 0.000, 0.575}}, {0.102, {0.000, 0.000, 0.585}}, {0.104, {0.000, 0.000, 0.585}},
    {0.106, {0.000, 0.000, 0.596}}, {0.108, {0.000, 0.000, 0.596}}, {0.110, {0.000, 0.000, 0.607}},
    {0.112, {0.000, 0.000, 0.607}}, {0.114, {0.000, 0.000, 0.618}}, {0.115, {0.000, 0.000, 0.618}},
    {0.117, {0.000, 0.000, 0.629}}, {0.119, {0.000, 0.000, 0.629}}, {0.121, {0.000, 0.000, 0.640}},
    {0.123, {0.000, 0.000, 0.640}}, {0.125, {0.000, 0.000, 0.651}}, {0.127, {0.000, 0.000, 0.651}},
    {0.129, {0.000, 0.000, 0.662}}, {0.131, {0.000, 0.000, 0.662}}, {0.133, {0.000, 0.000, 0.673}},
    {0.135, {0.000, 0.000, 0.673}}, {0.137, {0.000, 0.000, 0.684}}, {0.139, {0.000, 0.000, 0.684}},
    {0.141, {0.000, 0.000, 0.695}}, {0.143, {0.000, 0.000, 0.695}}, {0.145, {0.000, 0.000, 0.706}},
    {0.147, {0.000, 0.000, 0.706}}, {0.149, {0.000, 0.000, 0.717}}, {0.151, {0.000, 0.000, 0.717}},
    {0.153, {0.000, 0.000, 0.728}}, {0.155, {0.000, 0.000, 0.728}}, {0.157, {0.000, 0.000, 0.739}},
    {0.159, {0.000, 0.000, 0.739}}, {0.160, {0.000, 0.000, 0.750}}, {0.162, {0.000, 0.000, 0.750}},
    {0.164, {0.000, 0.000, 0.761}}, {0.166, {0.000, 0.000, 0.761}}, {0.168, {0.000, 0.000, 0.772}},
    {0.170, {0.000, 0.000, 0.772}}, {0.172, {0.000, 0.000, 0.783}}, {0.174, {0.000, 0.000, 0.783}},
    {0.176, {0.000, 0.000, 0.794}}, {0.178, {0.000, 0.000, 0.794}}, {0.180, {0.000, 0.000, 0.805}},
    {0.182, {0.000, 0.000, 0.805}}, {0.184, {0.000, 0.000, 0.816}}, {0.186, {0.000, 0.000, 0.816}},
    {0.188, {0.000, 0.000, 0.827}}, {0.190, {0.000, 0.000, 0.827}}, {0.192, {0.000, 0.000, 0.838}},
    {0.194, {0.000, 0.000, 0.838}}, {0.196, {0.000, 0.000, 0.849}}, {0.198, {0.000, 0.000, 0.849}},
    {0.200, {0.000, 0.000, 0.860}}, {0.202, {0.000, 0.000, 0.860}}, {0.204, {0.000, 0.000, 0.871}},
    {0.205, {0.000, 0.000, 0.871}}, {0.207, {0.000, 0.000, 0.882}}, {0.209, {0.000, 0.000, 0.882}},
    {0.211, {0.000, 0.000, 0.893}}, {0.213, {0.000, 0.000, 0.893}}, {0.215, {0.000, 0.000, 0.904}},
    {0.217, {0.000, 0.000, 0.904}}, {0.219, {0.000, 0.000, 0.915}}, {0.221, {0.000, 0.000, 0.915}},
    {0.223, {0.000, 0.000, 0.926}}, {0.225, {0.000, 0.000, 0.926}}, {0.227, {0.000, 0.000, 0.937}},
    {0.229, {0.000, 0.000, 0.937}}, {0.231, {0.000, 0.000, 0.948}}, {0.233, {0.000, 0.000, 0.948}},
    {0.235, {0.000, 0.000, 0.959}}, {0.237, {0.000, 0.000, 0.959}}, {0.239, {0.000, 0.000, 0.970}},
    {0.241, {0.000, 0.000, 0.970}}, {0.243, {0.000, 0.000, 0.981}}, {0.245, {0.000, 0.000, 0.981}},
    {0.247, {0.000, 0.000, 0.992}}, {0.249, {0.000, 0.000, 0.992}}, {0.250, {0.004, 0.004, 1.000}},
    {0.252, {0.004, 0.004, 1.000}}, {0.254, {0.020, 0.020, 1.000}}, {0.256, {0.020, 0.020, 1.000}},
    {0.258, {0.035, 0.035, 1.000}}, {0.260, {0.035, 0.035, 1.000}}, {0.262, {0.051, 0.051, 1.000}},
    {0.264, {0.051, 0.051, 1.000}}, {0.266, {0.067, 0.067, 1.000}}, {0.268, {0.067, 0.067, 1.000}},
    {0.270, {0.082, 0.082, 1.000}}, {0.272, {0.082, 0.082, 1.000}}, {0.274, {0.098, 0.098, 1.000}},
    {0.276, {0.098, 0.098, 1.000}}, {0.278, {0.114, 0.114, 1.000}}, {0.280, {0.114, 0.114, 1.000}},
    {0.282, {0.129, 0.129, 1.000}}, {0.284, {0.129, 0.129, 1.000}}, {0.286, {0.145, 0.145, 1.000}},
    {0.288, {0.145, 0.145, 1.000}}, {0.290, {0.161, 0.161, 1.000}}, {0.292, {0.161, 0.161, 1.000}},
    {0.294, {0.176, 0.176, 1.000}}, {0.295, {0.176, 0.176, 1.000}}, {0.297, {0.192, 0.192, 1.000}},
    {0.299, {0.192, 0.192, 1.000}}, {0.301, {0.208, 0.208, 1.000}}, {0.303, {0.208, 0.208, 1.000}},
    {0.305, {0.224, 0.224, 1.000}}, {0.307, {0.224, 0.224, 1.000}}, {0.309, {0.239, 0.239, 1.000}},
    {0.311, {0.239, 0.239, 1.000}}, {0.313, {0.255, 0.255, 1.000}}, {0.315, {0.255, 0.255, 1.000}},
    {0.317, {0.271, 0.271, 1.000}}, {0.319, {0.271, 0.271, 1.000}}, {0.321, {0.286, 0.286, 1.000}},
    {0.323, {0.286, 0.286, 1.000}}, {0.325, {0.302, 0.302, 1.000}}, {0.327, {0.302, 0.302, 1.000}},
    {0.329, {0.318, 0.318, 1.000}}, {0.331, {0.318, 0.318, 1.000}}, {0.333, {0.333, 0.333, 1.000}},
    {0.335, {0.333, 0.333, 1.000}}, {0.337, {0.349, 0.349, 1.000}}, {0.339, {0.349, 0.349, 1.000}},
    {0.341, {0.365, 0.365, 1.000}}, {0.342, {0.365, 0.365, 1.000}}, {0.344, {0.380, 0.380, 1.000}},
    {0.346, {0.380, 0.380, 1.000}}, {0.348, {0.396, 0.396, 1.000}}, {0.350, {0.396, 0.396, 1.000}},
    {0.352, {0.412, 0.412, 1.000}}, {0.354, {0.412, 0.412, 1.000}}, {0.356, {0.427, 0.427, 1.000}},
    {0.358, {0.427, 0.427, 1.000}}, {0.360, {0.443, 0.443, 1.000}}, {0.362, {0.443, 0.443, 1.000}},
    {0.364, {0.459, 0.459, 1.000}}, {0.366, {0.459, 0.459, 1.000}}, {0.368, {0.475, 0.475, 1.000}},
    {0.370, {0.475, 0.475, 1.000}}, {0.372, {0.490, 0.490, 1.000}}, {0.374, {0.490, 0.490, 1.000}},
    {0.376, {0.506, 0.506, 1.000}}, {0.378, {0.506, 0.506, 1.000}}, {0.380, {0.522, 0.522, 1.000}},
    {0.382, {0.522, 0.522, 1.000}}, {0.384, {0.537, 0.537, 1.000}}, {0.386, {0.537, 0.537, 1.000}},
    {0.387, {0.553, 0.553, 1.000}}, {0.389, {0.553, 0.553, 1.000}}, {0.391, {0.569, 0.569, 1.000}},
    {0.393, {0.569, 0.569, 1.000}}, {0.395, {0.584, 0.584, 1.000}}, {0.397, {0.584, 0.584, 1.000}},
    {0.399, {0.600, 0.600, 1.000}}, {0.401, {0.600, 0.600, 1.000}}, {0.403, {0.616, 0.616, 1.000}},
    {0.405, {0.616, 0.616, 1.000}}, {0.407, {0.631, 0.631, 1.000}}, {0.409, {0.631, 0.631, 1.000}},
    {0.411, {0.647, 0.647, 1.000}}, {0.413, {0.647, 0.647, 1.000}}, {0.415, {0.663, 0.663, 1.000}},
    {0.417, {0.663, 0.663, 1.000}}, {0.419, {0.678, 0.678, 1.000}}, {0.421, {0.678, 0.678, 1.000}},
    {0.423, {0.694, 0.694, 1.000}}, {0.425, {0.694, 0.694, 1.000}}, {0.427, {0.710, 0.710, 1.000}},
    {0.429, {0.710, 0.710, 1.000}}, {0.431, {0.725, 0.725, 1.000}}, {0.432, {0.725, 0.725, 1.000}},
    {0.434, {0.741, 0.741, 1.000}}, {0.436, {0.741, 0.741, 1.000}}, {0.438, {0.757, 0.757, 1.000}},
    {0.440, {0.757, 0.757, 1.000}}, {0.442, {0.773, 0.773, 1.000}}, {0.444, {0.773, 0.773, 1.000}},
    {0.446, {0.788, 0.788, 1.000}}, {0.448, {0.788, 0.788, 1.000}}, {0.450, {0.804, 0.804, 1.000}},
    {0.452, {0.804, 0.804, 1.000}}, {0.454, {0.820, 0.820, 1.000}}, {0.456, {0.820, 0.820, 1.000}},
    {0.458, {0.835, 0.835, 1.000}}, {0.460, {0.835, 0.835, 1.000}}, {0.462, {0.851, 0.851, 1.000}},
    {0.464, {0.851, 0.851, 1.000}}, {0.466, {0.867, 0.867, 1.000}}, {0.468, {0.867, 0.867, 1.000}},
    {0.470, {0.882, 0.882, 1.000}}, {0.472, {0.882, 0.882, 1.000}}, {0.474, {0.898, 0.898, 1.000}},
    {0.476, {0.898, 0.898, 1.000}}, {0.477, {0.914, 0.914, 1.000}}, {0.479, {0.914, 0.914, 1.000}},
    {0.481, {0.929, 0.929, 1.000}}, {0.483, {0.929, 0.929, 1.000}}, {0.485, {0.945, 0.945, 1.000}},
    {0.487, {0.945, 0.945, 1.000}}, {0.489, {0.961, 0.961, 1.000}}, {0.491, {0.961, 0.961, 1.000}},
    {0.493, {0.976, 0.976, 1.000}}, {0.495, {0.976, 0.976, 1.000}}, {0.497, {0.992, 0.992, 1.000}},
    {0.499, {0.992, 0.992, 1.000}}, {0.501, {1.000, 0.992, 0.992}}, {0.503, {1.000, 0.992, 0.992}},
    {0.505, {1.000, 0.976, 0.976}}, {0.507, {1.000, 0.976, 0.976}}, {0.509, {1.000, 0.961, 0.961}},
    {0.511, {1.000, 0.961, 0.961}}, {0.513, {1.000, 0.945, 0.945}}, {0.515, {1.000, 0.945, 0.945}},
    {0.517, {1.000, 0.929, 0.929}}, {0.519, {1.000, 0.929, 0.929}}, {0.521, {1.000, 0.914, 0.914}},
    {0.523, {1.000, 0.914, 0.914}}, {0.524, {1.000, 0.898, 0.898}}, {0.526, {1.000, 0.898, 0.898}},
    {0.528, {1.000, 0.882, 0.882}}, {0.530, {1.000, 0.882, 0.882}}, {0.532, {1.000, 0.867, 0.867}},
    {0.534, {1.000, 0.867, 0.867}}, {0.536, {1.000, 0.851, 0.851}}, {0.538, {1.000, 0.851, 0.851}},
    {0.540, {1.000, 0.835, 0.835}}, {0.542, {1.000, 0.835, 0.835}}, {0.544, {1.000, 0.820, 0.820}},
    {0.546, {1.000, 0.820, 0.820}}, {0.548, {1.000, 0.804, 0.804}}, {0.550, {1.000, 0.804, 0.804}},
    {0.552, {1.000, 0.788, 0.788}}, {0.554, {1.000, 0.788, 0.788}}, {0.556, {1.000, 0.773, 0.773}},
    {0.558, {1.000, 0.773, 0.773}}, {0.560, {1.000, 0.757, 0.757}}, {0.562, {1.000, 0.757, 0.757}},
    {0.564, {1.000, 0.741, 0.741}}, {0.566, {1.000, 0.741, 0.741}}, {0.568, {1.000, 0.725, 0.725}},
    {0.569, {1.000, 0.725, 0.725}}, {0.571, {1.000, 0.710, 0.710}}, {0.573, {1.000, 0.710, 0.710}},
    {0.575, {1.000, 0.694, 0.694}}, {0.577, {1.000, 0.694, 0.694}}, {0.579, {1.000, 0.678, 0.678}},
    {0.581, {1.000, 0.678, 0.678}}, {0.583, {1.000, 0.663, 0.663}}, {0.585, {1.000, 0.663, 0.663}},
    {0.587, {1.000, 0.647, 0.647}}, {0.589, {1.000, 0.647, 0.647}}, {0.591, {1.000, 0.631, 0.631}},
    {0.593, {1.000, 0.631, 0.631}}, {0.595, {1.000, 0.616, 0.616}}, {0.597, {1.000, 0.616, 0.616}},
    {0.599, {1.000, 0.600, 0.600}}, {0.601, {1.000, 0.600, 0.600}}, {0.603, {1.000, 0.584, 0.584}},
    {0.605, {1.000, 0.584, 0.584}}, {0.607, {1.000, 0.569, 0.569}}, {0.609, {1.000, 0.569, 0.569}},
    {0.611, {1.000, 0.553, 0.553}}, {0.613, {1.000, 0.553, 0.553}}, {0.614, {1.000, 0.537, 0.537}},
    {0.616, {1.000, 0.537, 0.537}}, {0.618, {1.000, 0.522, 0.522}}, {0.620, {1.000, 0.522, 0.522}},
    {0.622, {1.000, 0.506, 0.506}}, {0.624, {1.000, 0.506, 0.506}}, {0.626, {1.000, 0.490, 0.490}},
    {0.628, {1.000, 0.490, 0.490}}, {0.630, {1.000, 0.475, 0.475}}, {0.632, {1.000, 0.475, 0.475}},
    {0.634, {1.000, 0.459, 0.459}}, {0.636, {1.000, 0.459, 0.459}}, {0.638, {1.000, 0.443, 0.443}},
    {0.640, {1.000, 0.443, 0.443}}, {0.642, {1.000, 0.427, 0.427}}, {0.644, {1.000, 0.427, 0.427}},
    {0.646, {1.000, 0.412, 0.412}}, {0.648, {1.000, 0.412, 0.412}}, {0.650, {1.000, 0.396, 0.396}},
    {0.652, {1.000, 0.396, 0.396}}, {0.654, {1.000, 0.380, 0.380}}, {0.656, {1.000, 0.380, 0.380}},
    {0.658, {1.000, 0.365, 0.365}}, {0.659, {1.000, 0.365, 0.365}}, {0.661, {1.000, 0.349, 0.349}},
    {0.663, {1.000, 0.349, 0.349}}, {0.665, {1.000, 0.333, 0.333}}, {0.667, {1.000, 0.333, 0.333}},
    {0.669, {1.000, 0.318, 0.318}}, {0.671, {1.000, 0.318, 0.318}}, {0.673, {1.000, 0.302, 0.302}},
    {0.675, {1.000, 0.302, 0.302}}, {0.677, {1.000, 0.286, 0.286}}, {0.679, {1.000, 0.286, 0.286}},
    {0.681, {1.000, 0.271, 0.271}}, {0.683, {1.000, 0.271, 0.271}}, {0.685, {1.000, 0.255, 0.255}},
    {0.687, {1.000, 0.255, 0.255}}, {0.689, {1.000, 0.239, 0.239}}, {0.691, {1.000, 0.239, 0.239}},
    {0.693, {1.000, 0.224, 0.224}}, {0.695, {1.000, 0.224, 0.224}}, {0.697, {1.000, 0.208, 0.208}},
    {0.699, {1.000, 0.208, 0.208}}, {0.701, {1.000, 0.192, 0.192}}, {0.703, {1.000, 0.192, 0.192}},
    {0.705, {1.000, 0.176, 0.176}}, {0.706, {1.000, 0.176, 0.176}}, {0.708, {1.000, 0.161, 0.161}},
    {0.710, {1.000, 0.161, 0.161}}, {0.712, {1.000, 0.145, 0.145}}, {0.714, {1.000, 0.145, 0.145}},
    {0.716, {1.000, 0.129, 0.129}}, {0.718, {1.000, 0.129, 0.129}}, {0.720, {1.000, 0.114, 0.114}},
    {0.722, {1.000, 0.114, 0.114}}, {0.724, {1.000, 0.098, 0.098}}, {0.726, {1.000, 0.098, 0.098}},
    {0.728, {1.000, 0.082, 0.082}}, {0.730, {1.000, 0.082, 0.082}}, {0.732, {1.000, 0.067, 0.067}},
    {0.734, {1.000, 0.067, 0.067}}, {0.736, {1.000, 0.051, 0.051}}, {0.738, {1.000, 0.051, 0.051}},
    {0.740, {1.000, 0.035, 0.035}}, {0.742, {1.000, 0.035, 0.035}}, {0.744, {1.000, 0.020, 0.020}},
    {0.746, {1.000, 0.020, 0.020}}, {0.748, {1.000, 0.004, 0.004}}, {0.750, {1.000, 0.004, 0.004}},
    {0.751, {0.994, 0.000, 0.000}}, {0.753, {0.994, 0.000, 0.000}}, {0.755, {0.986, 0.000, 0.000}},
    {0.757, {0.986, 0.000, 0.000}}, {0.759, {0.978, 0.000, 0.000}}, {0.761, {0.978, 0.000, 0.000}},
    {0.763, {0.971, 0.000, 0.000}}, {0.765, {0.971, 0.000, 0.000}}, {0.767, {0.963, 0.000, 0.000}},
    {0.769, {0.963, 0.000, 0.000}}, {0.771, {0.955, 0.000, 0.000}}, {0.773, {0.955, 0.000, 0.000}},
    {0.775, {0.947, 0.000, 0.000}}, {0.777, {0.947, 0.000, 0.000}}, {0.779, {0.939, 0.000, 0.000}},
    {0.781, {0.939, 0.000, 0.000}}, {0.783, {0.931, 0.000, 0.000}}, {0.785, {0.931, 0.000, 0.000}},
    {0.787, {0.924, 0.000, 0.000}}, {0.789, {0.924, 0.000, 0.000}}, {0.791, {0.916, 0.000, 0.000}},
    {0.793, {0.916, 0.000, 0.000}}, {0.795, {0.908, 0.000, 0.000}}, {0.796, {0.908, 0.000, 0.000}},
    {0.798, {0.900, 0.000, 0.000}}, {0.800, {0.900, 0.000, 0.000}}, {0.802, {0.892, 0.000, 0.000}},
    {0.804, {0.892, 0.000, 0.000}}, {0.806, {0.884, 0.000, 0.000}}, {0.808, {0.884, 0.000, 0.000}},
    {0.810, {0.876, 0.000, 0.000}}, {0.812, {0.876, 0.000, 0.000}}, {0.814, {0.869, 0.000, 0.000}},
    {0.816, {0.869, 0.000, 0.000}}, {0.818, {0.861, 0.000, 0.000}}, {0.820, {0.861, 0.000, 0.000}},
    {0.822, {0.853, 0.000, 0.000}}, {0.824, {0.853, 0.000, 0.000}}, {0.826, {0.845, 0.000, 0.000}},
    {0.828, {0.845, 0.000, 0.000}}, {0.830, {0.837, 0.000, 0.000}}, {0.832, {0.837, 0.000, 0.000}},
    {0.834, {0.829, 0.000, 0.000}}, {0.836, {0.829, 0.000, 0.000}}, {0.838, {0.822, 0.000, 0.000}},
    {0.840, {0.822, 0.000, 0.000}}, {0.841, {0.814, 0.000, 0.000}}, {0.843, {0.814, 0.000, 0.000}},
    {0.845, {0.806, 0.000, 0.000}}, {0.847, {0.806, 0.000, 0.000}}, {0.849, {0.798, 0.000, 0.000}},
    {0.851, {0.798, 0.000, 0.000}}, {0.853, {0.790, 0.000, 0.000}}, {0.855, {0.790, 0.000, 0.000}},
    {0.857, {0.782, 0.000, 0.000}}, {0.859, {0.782, 0.000, 0.000}}, {0.861, {0.775, 0.000, 0.000}},
    {0.863, {0.775, 0.000, 0.000}}, {0.865, {0.767, 0.000, 0.000}}, {0.867, {0.767, 0.000, 0.000}},
    {0.869, {0.759, 0.000, 0.000}}, {0.871, {0.759, 0.000, 0.000}}, {0.873, {0.751, 0.000, 0.000}},
    {0.875, {0.751, 0.000, 0.000}}, {0.877, {0.743, 0.000, 0.000}}, {0.879, {0.743, 0.000, 0.000}},
    {0.881, {0.735, 0.000, 0.000}}, {0.883, {0.735, 0.000, 0.000}}, {0.885, {0.727, 0.000, 0.000}},
    {0.886, {0.727, 0.000, 0.000}}, {0.888, {0.720, 0.000, 0.000}}, {0.890, {0.720, 0.000, 0.000}},
    {0.892, {0.712, 0.000, 0.000}}, {0.894, {0.712, 0.000, 0.000}}, {0.896, {0.704, 0.000, 0.000}},
    {0.898, {0.704, 0.000, 0.000}}, {0.900, {0.696, 0.000, 0.000}}, {0.902, {0.696, 0.000, 0.000}},
    {0.904, {0.688, 0.000, 0.000}}, {0.906, {0.688, 0.000, 0.000}}, {0.908, {0.680, 0.000, 0.000}},
    {0.910, {0.680, 0.000, 0.000}}, {0.912, {0.673, 0.000, 0.000}}, {0.914, {0.673, 0.000, 0.000}},
    {0.916, {0.665, 0.000, 0.000}}, {0.918, {0.665, 0.000, 0.000}}, {0.920, {0.657, 0.000, 0.000}},
    {0.922, {0.657, 0.000, 0.000}}, {0.924, {0.649, 0.000, 0.000}}, {0.926, {0.649, 0.000, 0.000}},
    {0.928, {0.641, 0.000, 0.000}}, {0.930, {0.641, 0.000, 0.000}}, {0.932, {0.633, 0.000, 0.000}},
    {0.933, {0.633, 0.000, 0.000}}, {0.935, {0.625, 0.000, 0.000}}, {0.937, {0.625, 0.000, 0.000}},
    {0.939, {0.618, 0.000, 0.000}}, {0.941, {0.618, 0.000, 0.000}}, {0.943, {0.610, 0.000, 0.000}},
    {0.945, {0.610, 0.000, 0.000}}, {0.947, {0.602, 0.000, 0.000}}, {0.949, {0.602, 0.000, 0.000}},
    {0.951, {0.594, 0.000, 0.000}}, {0.953, {0.594, 0.000, 0.000}}, {0.955, {0.586, 0.000, 0.000}},
    {0.957, {0.586, 0.000, 0.000}}, {0.959, {0.578, 0.000, 0.000}}, {0.961, {0.578, 0.000, 0.000}},
    {0.963, {0.571, 0.000, 0.000}}, {0.965, {0.571, 0.000, 0.000}}, {0.967, {0.563, 0.000, 0.000}},
    {0.969, {0.563, 0.000, 0.000}}, {0.971, {0.555, 0.000, 0.000}}, {0.973, {0.555, 0.000, 0.000}},
    {0.975, {0.547, 0.000, 0.000}}, {0.977, {0.547, 0.000, 0.000}}, {0.978, {0.539, 0.000, 0.000}},
    {0.980, {0.539, 0.000, 0.000}}, {0.982, {0.531, 0.000, 0.000}}, {0.984, {0.531, 0.000, 0.000}},
    {0.986, {0.524, 0.000, 0.000}}, {0.988, {0.524, 0.000, 0.000}}, {0.990, {0.516, 0.000, 0.000}},
    {0.992, {0.516, 0.000, 0.000}}, {0.994, {0.508, 0.000, 0.000}}, {0.996, {0.508, 0.000, 0.000}},
    {0.998, {0.500, 0.000, 0.000}}, {1.000, {0.500, 0.000, 0.000}}};

std::vector<std::pair<double, Vector3>> COOLWARM = {
    {0, {0.2298057, 0.298717966, 0.753683153}},
    {0.002, {0.23213710352, 0.302198085808, 0.75674130404}},
    {0.004, {0.23446850704, 0.305678205616, 0.75979945508}},
    {0.006, {0.23679991056, 0.309158325424, 0.76285760612}},
    {0.008, {0.23913131408, 0.312638445232, 0.76591575716}},
    {0.01, {0.2414627176, 0.31611856504, 0.7689739082}},
    {0.012, {0.24379412112, 0.319598684848, 0.77203205924}},
    {0.014, {0.24612552464, 0.323078804656, 0.77509021028}},
    {0.016, {0.24845692816, 0.326558924464, 0.77814836132}},
    {0.018000000000000002, {0.25078833168, 0.330039044272, 0.78120651236}},
    {0.020000000000000004, {0.2531197352, 0.33351916408, 0.7842646634}},
    {0.022000000000000006, {0.25545113872, 0.336999283888, 0.78732281444}},
    {0.024000000000000007, {0.25778254224, 0.340479403696, 0.79038096548}},
    {0.02600000000000001, {0.26011394576, 0.343959523504, 0.79343911652}},
    {0.02800000000000001, {0.26244534928, 0.347439643312, 0.79649726756}},
    {0.030000000000000013, {0.2647767528, 0.35091976312, 0.7995554186}},
    {0.032000000000000015, {0.26713712072, 0.354377408992, 0.802510568768}},
    {0.034000000000000016, {0.26954576264, 0.357797598304, 0.805294050816}},
    {0.03600000000000002, {0.27195440456, 0.361217787616, 0.808077532864}},
    {0.03800000000000002, {0.27436304648, 0.364637976928, 0.810861014912}},
    {0.04000000000000002, {0.2767716884, 0.36805816624, 0.81364449696}},
    {0.04200000000000002, {0.27918033032, 0.371478355552, 0.816427979008}},
    {0.044000000000000025, {0.28158897224, 0.374898544864, 0.819211461056}},
    {0.04600000000000003, {0.28399761416, 0.378318734176, 0.821994943104}},
    {0.04800000000000003, {0.28640625608, 0.381738923488, 0.824778425152}},
    {0.05000000000000003, {0.288814898, 0.3851591128, 0.8275619072}},
    {0.05200000000000003, {0.29122353992, 0.388579302112, 0.830345389248}},
    {0.054000000000000034, {0.29363218184, 0.391999491424, 0.833128871296}},
    {0.056000000000000036, {0.29604082376, 0.395419680736, 0.835912353344}},
    {0.05800000000000004, {0.29844946568, 0.398839870048, 0.838695835392}},
    {0.06000000000000004, {0.3008581076, 0.40226005936, 0.84147931744}},
    {0.06200000000000004, {0.30326674952, 0.405680248672, 0.844262799488}},
    {0.06400000000000004, {0.305737817264, 0.409041967456, 0.846819496992}},
    {0.06600000000000004, {0.308229693616, 0.412384196064, 0.849300599648}},
    {0.06800000000000005, {0.310721569968, 0.415726424672, 0.851781702304}},
    {0.07000000000000005, {0.31321344632, 0.41906865328, 0.85426280496}},
    {0.07200000000000005, {0.315705322672, 0.422410881888, 0.856743907616}},
    {0.07400000000000005, {0.318197199024, 0.425753110496, 0.859225010272}},
    {0.07600000000000005, {0.320689075376, 0.429095339104, 0.861706112928}},
    {0.07800000000000006, {0.323180951728, 0.432437567712, 0.864187215584}},
    {0.08000000000000006, {0.32567282808, 0.43577979632, 0.86666831824}},
    {0.08200000000000006, {0.328164704432, 0.439122024928, 0.869149420896}},
    {0.08400000000000006, {0.330656580784, 0.442464253536, 0.871630523552}},
    {0.08600000000000006, {0.333148457136, 0.445806482144, 0.874111626208}},
    {0.08800000000000006, {0.335640333488, 0.449148710752, 0.876592728864}},
    {0.09000000000000007, {0.33813220984, 0.45249093936, 0.87907383152}},
    {0.09200000000000007, {0.340624086192, 0.455833167968, 0.881554934176}},
    {0.09400000000000007, {0.343126148896, 0.459162909376, 0.883995194384}},
    {0.09600000000000007, {0.345699516064, 0.462405240384, 0.886149557456}},
    {0.09800000000000007, {0.348272883232, 0.465647571392, 0.888303920528}},
    {0.10000000000000007, {0.3508462504, 0.4688899024, 0.8904582836}},
    {0.10200000000000008, {0.353419617568, 0.472132233408, 0.892612646672}},
    {0.10400000000000008, {0.355992984736, 0.475374564416, 0.894767009744}},
    {0.10600000000000008, {0.358566351904, 0.478616895424, 0.896921372816}},
    {0.10800000000000008, {0.361139719072, 0.481859226432, 0.899075735888}},
    {0.11000000000000008, {0.36371308624, 0.48510155744, 0.90123009896}},
    {0.11200000000000009, {0.366286453408, 0.488343888448, 0.903384462032}},
    {0.11400000000000009, {0.368859820576, 0.491586219456, 0.905538825104}},
    {0.11600000000000009, {0.371433187744, 0.494828550464, 0.907693188176}},
    {0.11800000000000009, {0.374006554912, 0.498070881472, 0.909847551248}},
    {0.12000000000000009, {0.37657992208, 0.50131321248, 0.91200191432}},
    {0.1220000000000001, {0.379153289248, 0.504555543488, 0.914156277392}},
    {0.1240000000000001, {0.381726656416, 0.507797874496, 0.916310640464}},
    {0.12600000000000008, {0.384336740576, 0.510978369664, 0.918291238512}},
    {0.12800000000000009, {0.386983541728, 0.514097028992, 0.920098071536}},
    {0.1300000000000001, {0.38963034288, 0.51721568832, 0.92190490456}},
    {0.1320000000000001, {0.392277144032, 0.520334347648, 0.923711737584}},
    {0.1340000000000001, {0.394923945184, 0.523453006976, 0.925518570608}},
    {0.1360000000000001, {0.397570746336, 0.526571666304, 0.927325403632}},
    {0.1380000000000001, {0.400217547488, 0.529690325632, 0.929132236656}},
    {0.1400000000000001, {0.40286434864, 0.53280898496, 0.93093906968}},
    {0.1420000000000001, {0.405511149792, 0.535927644288, 0.932745902704}},
    {0.1440000000000001, {0.408157950944, 0.539046303616, 0.934552735728}},
    {0.1460000000000001, {0.410804752096, 0.542164962944, 0.936359568752}},
    {0.1480000000000001, {0.413451553248, 0.545283622272, 0.938166401776}},
    {0.1500000000000001, {0.4160983544, 0.5484022816, 0.9399732348}},
    {0.1520000000000001, {0.418745155552, 0.551520940928, 0.941780067824}},
    {0.1540000000000001, {0.421391956704, 0.554639600256, 0.943586900848}},
    {0.1560000000000001, {0.424038757856, 0.557758259584, 0.945393733872}},
    {0.1580000000000001, {0.426738266432, 0.560747302656, 0.946881566088}},
    {0.16000000000000011, {0.42944530464, 0.56371782912, 0.94832382676}},
    {0.16200000000000012, {0.432152342848, 0.566688355584, 0.949766087432}},
    {0.16400000000000012, {0.434859381056, 0.569658882048, 0.951208348104}},
    {0.16600000000000012, {0.437566419264, 0.572629408512, 0.952650608776}},
    {0.16800000000000012, {0.440273457472, 0.575599934976, 0.954092869448}},
    {0.17000000000000012, {0.44298049568, 0.57857046144, 0.95553513012}},
    {0.17200000000000013, {0.445687533888, 0.581540987904, 0.956977390792}},
    {0.17400000000000013, {0.448394572096, 0.584511514368, 0.958419651464}},
    {0.17600000000000013, {0.451101610304, 0.587482040832, 0.959861912136}},
    {0.17800000000000013, {0.453808648512, 0.590452567296, 0.961304172808}},
    {0.18000000000000013, {0.45651568672, 0.59342309376, 0.96274643348}},
    {0.18200000000000013, {0.459222724928, 0.596393620224, 0.964188694152}},
    {0.18400000000000014, {0.461929763136, 0.599364146688, 0.965630954824}},
    {0.18600000000000014, {0.464636801344, 0.602334673152, 0.967073215496}},
    {0.18800000000000014, {0.467354569984, 0.605262059264, 0.968421042664}},
    {0.19000000000000014, {0.47010452992, 0.60806002432, 0.96948556932}},
    {0.19200000000000014, {0.472854489856, 0.610857989376, 0.970550095976}},
    {0.19400000000000014, {0.475604449792, 0.613655954432, 0.971614622632}},
    {0.19600000000000015, {0.478354409728, 0.616453919488, 0.972679149288}},
    {0.19800000000000015, {0.481104369664, 0.619251884544, 0.973743675944}},
    {0.20000000000000015, {0.4838543296, 0.6220498496, 0.9748082026}},
    {0.20200000000000015, {0.486604289536, 0.624847814656, 0.975872729256}},
    {0.20400000000000015, {0.489354249472, 0.627645779712, 0.976937255912}},
    {0.20600000000000016, {0.492104209408, 0.630443744768, 0.978001782568}},
    {0.20800000000000016, {0.494854169344, 0.633241709824, 0.979066309224}},
    {0.21000000000000016, {0.49760412928, 0.63603967488, 0.98013083588}},
    {0.21200000000000016, {0.500354089216, 0.638837639936, 0.981195362536}},
    {0.21400000000000016, {0.503104049152, 0.641635604992, 0.982259889192}},
    {0.21600000000000016, {0.505854009088, 0.644433570048, 0.983324415848}},
    {0.21800000000000017, {0.508603969024, 0.647231535104, 0.984388942504}},
    {0.22000000000000017, {0.51136792208, 0.6499067144, 0.98521163872}},
    {0.22200000000000017, {0.514140271008, 0.65250822224, 0.985889236672}},
    {0.22400000000000017, {0.516912619936, 0.65510973008, 0.986566834624}},
    {0.22600000000000017, {0.519684968864, 0.65771123792, 0.987244432576}},
    {0.22800000000000017, {0.522457317792, 0.66031274576, 0.987922030528}},
    {0.23000000000000018, {0.52522966672, 0.6629142536, 0.98859962848}},
    {0.23200000000000018, {0.528002015648, 0.66551576144, 0.989277226432}},
    {0.23400000000000018, {0.530774364576, 0.66811726928, 0.989954824384}},
    {0.23600000000000018, {0.533546713504, 0.67071877712, 0.990632422336}},
    {0.23800000000000018, {0.536319062432, 0.67332028496, 0.991310020288}},
    {0.24000000000000019, {0.53909141136, 0.6759217928, 0.99198761824}},
    {0.2420000000000002, {0.541863760288, 0.67852330064, 0.992665216192}},
    {0.2440000000000002, {0.544636109216, 0.68112480848, 0.993342814144}},
    {0.2460000000000002, {0.547408458144, 0.68372631632, 0.994020412096}},
    {0.2480000000000002, {0.550180807072, 0.68632782416, 0.994698010048}},
    {0.25000000000000017, {0.552953156, 0.688929332, 0.995375608}},
    {0.25200000000000017, {0.555724932384, 0.6913113976, 0.99566108608}},
    {0.25400000000000017, {0.558496708768, 0.6936934632, 0.99594656416}},
    {0.25600000000000017, {0.561268485152, 0.6960755288, 0.99623204224}},
    {0.2580000000000002, {0.564040261536, 0.6984575944, 0.99651752032}},
    {0.2600000000000002, {0.56681203792, 0.70083966, 0.9968029984}},
    {0.2620000000000002, {0.569583814304, 0.7032217256, 0.99708847648}},
    {0.2640000000000002, {0.572355590688, 0.7056037912, 0.99737395456}},
    {0.2660000000000002, {0.575127367072, 0.7079858568, 0.99765943264}},
    {0.2680000000000002, {0.577899143456, 0.7103679224, 0.99794491072}},
    {0.2700000000000002, {0.58067091984, 0.712749988, 0.9982303888}},
    {0.2720000000000002, {0.583442696224, 0.7151320536, 0.99851586688}},
    {0.2740000000000002, {0.586214472608, 0.7175141192, 0.99880134496}},
    {0.2760000000000002, {0.588986248992, 0.7198961848, 0.99908682304}},
    {0.2780000000000002, {0.591758025376, 0.7222782504, 0.99937230112}},
    {0.2800000000000002, {0.59452980176, 0.724660316, 0.9996577792}},
    {0.2820000000000002, {0.597292099176, 0.72695192716, 0.999795762568}},
    {0.2840000000000002, {0.600038598312, 0.72909278092, 0.999687921416}},
    {0.2860000000000002, {0.602785097448, 0.73123363468, 0.999580080264}},
    {0.2880000000000002, {0.605531596584, 0.73337448844, 0.999472239112}},
    {0.2900000000000002, {0.60827809572, 0.7355153422, 0.99936439796}},
    {0.2920000000000002, {0.611024594856, 0.73765619596, 0.999256556808}},
    {0.2940000000000002, {0.613771093992, 0.73979704972, 0.999148715656}},
    {0.2960000000000002, {0.616517593128, 0.74193790348, 0.999040874504}},
    {0.2980000000000002, {0.619264092264, 0.74407875724, 0.998933033352}},
    {0.3000000000000002, {0.6220105914, 0.746219611, 0.9988251922}},
    {0.3020000000000002, {0.624757090536, 0.74836046476, 0.998717351048}},
    {0.3040000000000002, {0.627503589672, 0.75050131852, 0.998609509896}},
    {0.3060000000000002, {0.630250088808, 0.75264217228, 0.998501668744}},
    {0.3080000000000002, {0.632996587944, 0.75478302604, 0.998393827592}},
    {0.3100000000000002, {0.63574308708, 0.7569238798, 0.99828598644}},
    {0.3120000000000002, {0.638489586216, 0.75906473356, 0.998178145288}},
    {0.3140000000000002, {0.64119773436, 0.76100945572, 0.997777363016}},
    {0.3160000000000002, {0.64389309884, 0.76288880068, 0.997278933704}},
    {0.3180000000000002, {0.64658846332, 0.76476814564, 0.996780504392}},
    {0.32000000000000023, {0.6492838278, 0.7666474906, 0.99628207508}},
    {0.32200000000000023, {0.65197919228, 0.76852683556, 0.995783645768}},
    {0.32400000000000023, {0.65467455676, 0.77040618052, 0.995285216456}},
    {0.32600000000000023, {0.65736992124, 0.77228552548, 0.994786787144}},
    {0.32800000000000024, {0.66006528572, 0.77416487044, 0.994288357832}},
    {0.33000000000000024, {0.6627606502, 0.7760442154, 0.99378992852}},
    {0.33200000000000024, {0.66545601468, 0.77792356036, 0.993291499208}},
    {0.33400000000000024, {0.66815137916, 0.77980290532, 0.992793069896}},
    {0.33600000000000024, {0.67084674364, 0.78168225028, 0.992294640584}},
    {0.33800000000000024, {0.67354210812, 0.78356159524, 0.991796211272}},
    {0.34000000000000025, {0.6762374726, 0.7854409402, 0.99129778196}},
    {0.34200000000000025, {0.67893283708, 0.78732028516, 0.990799352648}},
    {0.34400000000000025, {0.681618497104, 0.789164616216, 0.990252918856}},
    {0.34600000000000025, {0.684236225936, 0.790763849944, 0.989370453704}},
    {0.34800000000000025, {0.686853954768, 0.792363083672, 0.988487988552}},
    {0.35000000000000026, {0.6894716836, 0.7939623174, 0.9876055234}},
    {0.35200000000000026, {0.692089412432, 0.795561551128, 0.986723058248}},
    {0.35400000000000026, {0.694707141264, 0.797160784856, 0.985840593096}},
    {0.35600000000000026, {0.697324870096, 0.798760018584, 0.984958127944}},
    {0.35800000000000026, {0.699942598928, 0.800359252312, 0.984075662792}},
    {0.36000000000000026, {0.70256032776, 0.80195848604, 0.98319319764}},
    {0.36200000000000027, {0.705178056592, 0.803557719768, 0.982310732488}},
    {0.36400000000000027, {0.707795785424, 0.805156953496, 0.981428267336}},
    {0.36600000000000027, {0.710413514256, 0.806756187224, 0.980545802184}},
    {0.36800000000000027, {0.713031243088, 0.808355420952, 0.979663337032}},
    {0.3700000000000003, {0.71564897192, 0.80995465468, 0.97878087188}},
    {0.3720000000000003, {0.718266700752, 0.811553888408, 0.977898406728}},
    {0.3740000000000003, {0.720884429584, 0.813153122136, 0.977015941576}},
    {0.3760000000000003, {0.72344998696, 0.81460394348, 0.97594656692}},
    {0.3780000000000003, {0.72596337288, 0.81590635244, 0.97469028276}},
    {0.3800000000000003, {0.7284767588, 0.8172087614, 0.9734339986}},
    {0.3820000000000003, {0.73099014472, 0.81851117036, 0.97217771444}},
    {0.3840000000000003, {0.73350353064, 0.81981357932, 0.97092143028}},
    {0.3860000000000003, {0.73601691656, 0.82111598828, 0.96966514612}},
    {0.3880000000000003, {0.73853030248, 0.82241839724, 0.96840886196}},
    {0.3900000000000003, {0.7410436884, 0.8237208062, 0.9671525778}},
    {0.3920000000000003, {0.74355707432, 0.82502321516, 0.96589629364}},
    {0.3940000000000003, {0.74607046024, 0.82632562412, 0.96464000948}},
    {0.3960000000000003, {0.74858384616, 0.82762803308, 0.96338372532}},
    {0.3980000000000003, {0.75109723208, 0.82893044204, 0.96212744116}},
    {0.4000000000000003, {0.753610618, 0.830232851, 0.960871157}},
    {0.4020000000000003, {0.75612400392, 0.83153525996, 0.95961487284}},
    {0.4040000000000003, {0.75863738984, 0.83283766892, 0.95835858868}},
    {0.4060000000000003, {0.76115077576, 0.83414007788, 0.95710230452}},
    {0.4080000000000003, {0.763549643472, 0.835169941728, 0.955530898224}},
    {0.4100000000000003, {0.76593215144, 0.83616087056, 0.95391447448}},
    {0.4120000000000003, {0.768314659408, 0.837151799392, 0.952298050736}},
    {0.4140000000000003, {0.770697167376, 0.838142728224, 0.950681626992}},
    {0.4160000000000003, {0.773079675344, 0.839133657056, 0.949065203248}},
    {0.4180000000000003, {0.775462183312, 0.840124585888, 0.947448779504}},
    {0.4200000000000003, {0.77784469128, 0.84111551472, 0.94583235576}},
    {0.4220000000000003, {0.780227199248, 0.842106443552, 0.944215932016}},
    {0.4240000000000003, {0.782609707216, 0.843097372384, 0.942599508272}},
    {0.4260000000000003, {0.784992215184, 0.844088301216, 0.940983084528}},
    {0.4280000000000003, {0.787374723152, 0.845079230048, 0.939366660784}},
    {0.4300000000000003, {0.78975723112, 0.84607015888, 0.93775023704}},
    {0.43200000000000033, {0.792139739088, 0.847061087712, 0.936133813296}},
    {0.43400000000000033, {0.794522247056, 0.848052016544, 0.934517389552}},
    {0.43600000000000033, {0.796904755024, 0.849042945376, 0.932900965808}},
    {0.43800000000000033, {0.79924803472, 0.849952891472, 0.93119873104}},
    {0.44000000000000034, {0.8014736296, 0.85061988936, 0.9292390632}},
    {0.44200000000000034, {0.80369922448, 0.851286887248, 0.92727939536}},
    {0.44400000000000034, {0.80592481936, 0.851953885136, 0.92531972752}},
    {0.44600000000000034, {0.80815041424, 0.852620883024, 0.92336005968}},
    {0.44800000000000034, {0.81037600912, 0.853287880912, 0.92140039184}},
    {0.45000000000000034, {0.812601604, 0.8539548788, 0.919440724}},
    {0.45200000000000035, {0.81482719888, 0.854621876688, 0.91748105616}},
    {0.45400000000000035, {0.81705279376, 0.855288874576, 0.91552138832}},
    {0.45600000000000035, {0.81927838864, 0.855955872464, 0.91356172048}},
    {0.45800000000000035, {0.82150398352, 0.856622870352, 0.91160205264}},
    {0.46000000000000035, {0.8237295784, 0.85728986824, 0.9096423848}},
    {0.46200000000000035, {0.82595517328, 0.857956866128, 0.90768271696}},
    {0.46400000000000036, {0.82818076816, 0.858623864016, 0.90572304912}},
    {0.46600000000000036, {0.83040636304, 0.859290861904, 0.90376338128}},
    {0.46800000000000036, {0.83263195792, 0.859957859792, 0.90180371344}},
    {0.47000000000000036, {0.83474370164, 0.86041607304, 0.89964190692}},
    {0.47200000000000036, {0.836787134664, 0.860749015504, 0.897358817192}},
    {0.47400000000000037, {0.838830567688, 0.861081957968, 0.895075727464}},
    {0.47600000000000037, {0.840874000712, 0.861414900432, 0.892792637736}},
    {0.47800000000000037, {0.842917433736, 0.861747842896, 0.890509548008}},
    {0.48000000000000037, {0.84496086676, 0.86208078536, 0.88822645828}},
    {0.4820000000000004, {0.847004299784, 0.862413727824, 0.885943368552}},
    {0.4840000000000004, {0.849047732808, 0.862746670288, 0.883660278824}},
    {0.4860000000000004, {0.851091165832, 0.863079612752, 0.881377189096}},
    {0.4880000000000004, {0.853134598856, 0.863412555216, 0.879094099368}},
    {0.4900000000000004, {0.85517803188, 0.86374549768, 0.87681100964}},
    {0.4920000000000004, {0.857221464904, 0.864078440144, 0.874527919912}},
    {0.4940000000000004, {0.859264897928, 0.864411382608, 0.872244830184}},
    {0.4960000000000004, {0.861308330952, 0.864744325072, 0.869961740456}},
    {0.4980000000000004, {0.863351763976, 0.865077267536, 0.867678650728}},
    {0.5000000000000003, {0.865395197, 0.86541021, 0.865395561}},
    {0.5020000000000003, {0.867468283848, 0.864355927568, 0.86254660004}},
    {0.5040000000000003, {0.869541370696, 0.863301645136, 0.85969763908}},
    {0.5060000000000003, {0.871614457544, 0.862247362704, 0.85684867812}},
    {0.5080000000000003, {0.873687544392, 0.861193080272, 0.85399971716}},
    {0.5100000000000003, {0.87576063124, 0.86013879784, 0.8511507562}},
    {0.5120000000000003, {0.877833718088, 0.859084515408, 0.84830179524}},
    {0.5140000000000003, {0.879906804936, 0.858030232976, 0.84545283428}},
    {0.5160000000000003, {0.881979891784, 0.856975950544, 0.84260387332}},
    {0.5180000000000003, {0.884052978632, 0.855921668112, 0.83975491236}},
    {0.5200000000000004, {0.88612606548, 0.85486738568, 0.8369059514}},
    {0.5220000000000004, {0.888199152328, 0.853813103248, 0.83405699044}},
    {0.5240000000000004, {0.890272239176, 0.852758820816, 0.83120802948}},
    {0.5260000000000004, {0.892345326024, 0.851704538384, 0.82835906852}},
    {0.5280000000000004, {0.894418412872, 0.850650255952, 0.82551010756}},
    {0.5300000000000004, {0.89649149972, 0.84959597352, 0.8226611466}},
    {0.5320000000000004, {0.898419348936, 0.84841979504, 0.819767616224}},
    {0.5340000000000004, {0.900105135432, 0.84704045648, 0.816799803488}},
    {0.5360000000000004, {0.901790921928, 0.84566111792, 0.813831990752}},
    {0.5380000000000004, {0.903476708424, 0.84428177936, 0.810864178016}},
    {0.5400000000000004, {0.90516249492, 0.8429024408, 0.80789636528}},
    {0.5420000000000004, {0.906848281416, 0.84152310224, 0.804928552544}},
    {0.5440000000000004, {0.908534067912, 0.84014376368, 0.801960739808}},
    {0.5460000000000004, {0.910219854408, 0.83876442512, 0.798992927072}},
    {0.5480000000000004, {0.911905640904, 0.83738508656, 0.796025114336}},
    {0.5500000000000004, {0.9135914274, 0.836005748, 0.7930573016}},
    {0.5520000000000004, {0.915277213896, 0.83462640944, 0.790089488864}},
    {0.5540000000000004, {0.916963000392, 0.83324707088, 0.787121676128}},
    {0.5560000000000004, {0.918648786888, 0.83186773232, 0.784153863392}},
    {0.5580000000000004, {0.920334573384, 0.83048839376, 0.781186050656}},
    {0.5600000000000004, {0.92202035988, 0.8291090552, 0.77821823792}},
    {0.5620000000000004, {0.923706146376, 0.82772971664, 0.775250425184}},
    {0.5640000000000004, {0.9251039574, 0.826114924928, 0.772215400352}},
    {0.5660000000000004, {0.9264057766, 0.824421648832, 0.769157971488}},
    {0.5680000000000004, {0.9277075958, 0.822728372736, 0.766100542624}},
    {0.5700000000000004, {0.929009415, 0.82103509664, 0.76304311376}},
    {0.5720000000000004, {0.9303112342, 0.819341820544, 0.759985684896}},
    {0.5740000000000004, {0.9316130534, 0.817648544448, 0.756928256032}},
    {0.5760000000000004, {0.9329148726, 0.815955268352, 0.753870827168}},
    {0.5780000000000004, {0.9342166918, 0.814261992256, 0.750813398304}},
    {0.5800000000000004, {0.935518511, 0.81256871616, 0.74775596944}},
    {0.5820000000000004, {0.9368203302, 0.810875440064, 0.744698540576}},
    {0.5840000000000004, {0.9381221494, 0.809182163968, 0.741641111712}},
    {0.5860000000000004, {0.9394239686, 0.807488887872, 0.738583682848}},
    {0.5880000000000004, {0.9407257878, 0.805795611776, 0.735526253984}},
    {0.5900000000000004, {0.942027607, 0.80410233568, 0.73246882512}},
    {0.5920000000000004, {0.9433294262, 0.802409059584, 0.729411396256}},
    {0.5940000000000004, {0.944583593424, 0.800678165472, 0.726346320392}},
    {0.5960000000000004, {0.945504196816, 0.798683945248, 0.723227715528}},
    {0.5980000000000004, {0.946424800208, 0.796689725024, 0.720109110664}},
    {0.6000000000000004, {0.9473454036, 0.7946955048, 0.7169905058}},
    {0.6020000000000004, {0.948266006992, 0.792701284576, 0.713871900936}},
    {0.6040000000000004, {0.949186610384, 0.790707064352, 0.710753296072}},
    {0.6060000000000004, {0.950107213776, 0.788712844128, 0.707634691208}},
    {0.6080000000000004, {0.951027817168, 0.786718623904, 0.704516086344}},
    {0.6100000000000004, {0.95194842056, 0.78472440368, 0.70139748148}},
    {0.6120000000000004, {0.952869023952, 0.782730183456, 0.698278876616}},
    {0.6140000000000004, {0.953789627344, 0.780735963232, 0.695160271752}},
    {0.6160000000000004, {0.954710230736, 0.778741743008, 0.692041666888}},
    {0.6180000000000004, {0.955630834128, 0.776747522784, 0.688923062024}},
    {0.6200000000000004, {0.95655143752, 0.77475330256, 0.68580445716}},
    {0.6220000000000004, {0.957472040912, 0.772759082336, 0.682685852296}},
    {0.6240000000000004, {0.958392644304, 0.770764862112, 0.679567247432}},
    {0.6260000000000004, {0.959124148688, 0.768627433824, 0.676431747176}},
    {0.6280000000000004, {0.959666554064, 0.766346797472, 0.673279351528}},
    {0.6300000000000004, {0.96020895944, 0.76406616112, 0.67012695588}},
    {0.6320000000000005, {0.960751364816, 0.761785524768, 0.666974560232}},
    {0.6340000000000005, {0.961293770192, 0.759504888416, 0.663822164584}},
    {0.6360000000000005, {0.961836175568, 0.757224252064, 0.660669768936}},
    {0.6380000000000005, {0.962378580944, 0.754943615712, 0.657517373288}},
    {0.6400000000000005, {0.96292098632, 0.75266297936, 0.65436497764}},
    {0.6420000000000005, {0.963463391696, 0.750382343008, 0.651212581992}},
    {0.6440000000000005, {0.964005797072, 0.748101706656, 0.648060186344}},
    {0.6460000000000005, {0.964548202448, 0.745821070304, 0.644907790696}},
    {0.6480000000000005, {0.965090607824, 0.743540433952, 0.641755395048}},
    {0.6500000000000005, {0.9656330132, 0.7412597976, 0.6386029994}},
    {0.6520000000000005, {0.966175418576, 0.738979161248, 0.635450603752}},
    {0.6540000000000005, {0.966717823952, 0.736698524896, 0.632298208104}},
    {0.6560000000000005, {0.967260229328, 0.734417888544, 0.629145812456}},
    {0.6580000000000005, {0.967475091992, 0.731900305888, 0.62598668936}},
    {0.6600000000000005, {0.96764316284, 0.72934887376, 0.6228266052}},
    {0.6620000000000005, {0.967811233688, 0.726797441632, 0.61966652104}},
    {0.6640000000000005, {0.967979304536, 0.724246009504, 0.61650643688}},
    {0.6660000000000005, {0.968147375384, 0.721694577376, 0.61334635272}},
    {0.6680000000000005, {0.968315446232, 0.719143145248, 0.61018626856}},
    {0.6700000000000005, {0.96848351708, 0.71659171312, 0.6070261844}},
    {0.6720000000000005, {0.968651587928, 0.714040280992, 0.60386610024}},
    {0.6740000000000005, {0.968819658776, 0.711488848864, 0.60070601608}},
    {0.6760000000000005, {0.968987729624, 0.708937416736, 0.59754593192}},
    {0.6780000000000005, {0.969155800472, 0.706385984608, 0.59438584776}},
    {0.6800000000000005, {0.96932387132, 0.70383455248, 0.5912257636}},
    {0.6820000000000005, {0.969491942168, 0.701283120352, 0.58806567944}},
    {0.6840000000000005, {0.969660013016, 0.698731688224, 0.58490559528}},
    {0.6860000000000005, {0.969828083864, 0.696180256096, 0.58174551112}},
    {0.6880000000000005, {0.96990384964, 0.693565153584, 0.578589661024}},
    {0.6900000000000005, {0.9697027002, 0.69075903992, 0.57544651312}},
    {0.6920000000000005, {0.96950155076, 0.687952926256, 0.572303365216}},
    {0.6940000000000005, {0.96930040132, 0.685146812592, 0.569160217312}},
    {0.6960000000000005, {0.96909925188, 0.682340698928, 0.566017069408}},
    {0.6980000000000005, {0.96889810244, 0.679534585264, 0.562873921504}},
    {0.7000000000000005, {0.968696953, 0.6767284716, 0.5597307736}},
    {0.7020000000000005, {0.96849580356, 0.673922357936, 0.556587625696}},
    {0.7040000000000005, {0.96829465412, 0.671116244272, 0.553444477792}},
    {0.7060000000000005, {0.96809350468, 0.668310130608, 0.550301329888}},
    {0.7080000000000005, {0.96789235524, 0.665504016944, 0.547158181984}},
    {0.7100000000000005, {0.9676912058, 0.66269790328, 0.54401503408}},
    {0.7120000000000005, {0.96749005636, 0.659891789616, 0.540871886176}},
    {0.7140000000000005, {0.96728890692, 0.657085675952, 0.537728738272}},
    {0.7160000000000005, {0.96708775748, 0.654279562288, 0.534585590368}},
    {0.7180000000000005, {0.96688660804, 0.651473448624, 0.531442442464}},
    {0.7200000000000005, {0.96645885252, 0.648518007, 0.52832424808}},
    {0.7220000000000005, {0.965895133352, 0.6454729686, 0.525221025808}},
    {0.7240000000000005, {0.965331414184, 0.6424279302, 0.522117803536}},
    {0.7260000000000005, {0.964767695016, 0.6393828918, 0.519014581264}},
    {0.7280000000000005, {0.964203975848, 0.6363378534, 0.515911358992}},
    {0.7300000000000005, {0.96364025668, 0.633292815, 0.51280813672}},
    {0.7320000000000005, {0.963076537512, 0.6302477766, 0.509704914448}},
    {0.7340000000000005, {0.962512818344, 0.6272027382, 0.506601692176}},
    {0.7360000000000005, {0.961949099176, 0.6241576998, 0.503498469904}},
    {0.7380000000000005, {0.961385380008, 0.6211126614, 0.500395247632}},
    {0.7400000000000005, {0.96082166084, 0.618067623, 0.49729202536}},
    {0.7420000000000005, {0.960257941672, 0.6150225846, 0.494188803088}},
    {0.7440000000000005, {0.959694222504, 0.6119775462, 0.491085580816}},
    {0.7460000000000006, {0.959130503336, 0.6089325078, 0.487982358544}},
    {0.7480000000000006, {0.958566784168, 0.6058874694, 0.484879136272}},
    {0.7500000000000006, {0.958003065, 0.602842431, 0.481775914}},
    {0.7520000000000006, {0.957085164264, 0.599572577368, 0.47873385128}},
    {0.7540000000000006, {0.956167263528, 0.596302723736, 0.47569178856}},
    {0.7560000000000006, {0.955249362792, 0.593032870104, 0.47264972584}},
    {0.7580000000000006, {0.954331462056, 0.589763016472, 0.46960766312}},
    {0.7600000000000006, {0.95341356132, 0.58649316284, 0.4665656004}},
    {0.7620000000000006, {0.952495660584, 0.583223309208, 0.46352353768}},
    {0.7640000000000006, {0.951577759848, 0.579953455576, 0.46048147496}},
    {0.7660000000000006, {0.950659859112, 0.576683601944, 0.45743941224}},
    {0.7680000000000006, {0.949741958376, 0.573413748312, 0.45439734952}},
    {0.7700000000000006, {0.94882405764, 0.57014389468, 0.4513552868}},
    {0.7720000000000006, {0.947906156904, 0.566874041048, 0.44831322408}},
    {0.7740000000000006, {0.946988256168, 0.563604187416, 0.44527116136}},
    {0.7760000000000006, {0.946070355432, 0.560334333784, 0.44222909864}},
    {0.7780000000000006, {0.945152454696, 0.557064480152, 0.43918703592}},
    {0.7800000000000006, {0.94423455396, 0.55379462652, 0.4361449732}},
    {0.7820000000000006, {0.943187683224, 0.550444350208, 0.433133120984}},
    {0.7840000000000006, {0.941925862488, 0.546960036096, 0.430171619608}},
    {0.7860000000000006, {0.940664041752, 0.543475721984, 0.427210118232}},
    {0.7880000000000006, {0.939402221016, 0.539991407872, 0.424248616856}},
    {0.7900000000000006, {0.93814040028, 0.53650709376, 0.42128711548}},
    {0.7920000000000006, {0.936878579544, 0.533022779648, 0.418325614104}},
    {0.7940000000000006, {0.935616758808, 0.529538465536, 0.415364112728}},
    {0.7960000000000006, {0.934354938072, 0.526054151424, 0.412402611352}},
    {0.7980000000000006, {0.933093117336, 0.522569837312, 0.409441109976}},
    {0.8000000000000006, {0.9318312966, 0.5190855232, 0.4064796086}},
    {0.8020000000000006, {0.930569475864, 0.515601209088, 0.403518107224}},
    {0.8040000000000006, {0.929307655128, 0.512116894976, 0.400556605848}},
    {0.8060000000000006, {0.928045834392, 0.508632580864, 0.397595104472}},
    {0.8080000000000006, {0.926784013656, 0.505148266752, 0.394633603096}},
    {0.8100000000000006, {0.92552219292, 0.50166395264, 0.39167210172}},
    {0.8120000000000006, {0.924260372184, 0.498179638528, 0.388710600344}},
    {0.8140000000000006, {0.922749777144, 0.494536603536, 0.385822674808}},
    {0.8160000000000006, {0.921156257336, 0.490840661584, 0.382959274552}},
    {0.8180000000000006, {0.919562737528, 0.487144719632, 0.380095874296}},
    {0.8200000000000006, {0.91796921772, 0.48344877768, 0.37723247404}},
    {0.8220000000000006, {0.916375697912, 0.479752835728, 0.374369073784}},
    {0.8240000000000006, {0.914782178104, 0.476056893776, 0.371505673528}},
    {0.8260000000000006, {0.913188658296, 0.472360951824, 0.368642273272}},
    {0.8280000000000006, {0.911595138488, 0.468665009872, 0.365778873016}},
    {0.8300000000000006, {0.91000161868, 0.46496906792, 0.36291547276}},
    {0.8320000000000006, {0.908408098872, 0.461273125968, 0.360052072504}},
    {0.8340000000000006, {0.906814579064, 0.457577184016, 0.357188672248}},
    {0.8360000000000006, {0.905221059256, 0.453881242064, 0.354325271992}},
    {0.8380000000000006, {0.903627539448, 0.450185300112, 0.351461871736}},
    {0.8400000000000006, {0.90203401964, 0.44648935816, 0.34859847148}},
    {0.8420000000000006, {0.900440499832, 0.442793416208, 0.345735071224}},
    {0.8440000000000006, {0.898807295432, 0.439069496, 0.342885896688}},
    {0.8460000000000006, {0.896896298888, 0.435149728, 0.340136302192}},
    {0.8480000000000006, {0.894985302344, 0.43122996, 0.337386707696}},
    {0.8500000000000006, {0.8930743058, 0.427310192, 0.3346371132}},
    {0.8520000000000006, {0.891163309256, 0.423390424, 0.331887518704}},
    {0.8540000000000006, {0.889252312712, 0.419470656, 0.329137924208}},
    {0.8560000000000006, {0.887341316168, 0.415550888, 0.326388329712}},
    {0.8580000000000007, {0.885430319624, 0.41163112, 0.323638735216}},
    {0.8600000000000007, {0.88351932308, 0.407711352, 0.32088914072}},
    {0.8620000000000007, {0.881608326536, 0.403791584, 0.318139546224}},
    {0.8640000000000007, {0.879697329992, 0.399871816, 0.315389951728}},
    {0.8660000000000007, {0.877786333448, 0.395952048, 0.312640357232}},
    {0.8680000000000007, {0.875875336904, 0.39203228, 0.309890762736}},
    {0.8700000000000007, {0.87396434036, 0.388112512, 0.30714116824}},
    {0.8720000000000007, {0.872053343816, 0.384192744, 0.304391573744}},
    {0.8740000000000007, {0.870142347272, 0.380272976, 0.301641979248}},
    {0.8760000000000007, {0.868080727176, 0.376219055328, 0.298956270544}},
    {0.8780000000000007, {0.865868483528, 0.372030981984, 0.296334447632}},
    {0.8800000000000007, {0.86365623988, 0.36784290864, 0.29371262472}},
    {0.8820000000000007, {0.861443996232, 0.363654835296, 0.291090801808}},
    {0.8840000000000007, {0.859231752584, 0.359466761952, 0.288468978896}},
    {0.8860000000000007, {0.857019508936, 0.355278688608, 0.285847155984}},
    {0.8880000000000007, {0.854807265288, 0.351090615264, 0.283225333072}},
    {0.8900000000000007, {0.85259502164, 0.34690254192, 0.28060351016}},
    {0.8920000000000007, {0.850382777992, 0.342714468576, 0.277981687248}},
    {0.8940000000000007, {0.848170534344, 0.338526395232, 0.275359864336}},
    {0.8960000000000007, {0.845958290696, 0.334338321888, 0.272738041424}},
    {0.8980000000000007, {0.843746047048, 0.330150248544, 0.270116218512}},
    {0.9000000000000007, {0.8415338034, 0.3259621752, 0.2674943956}},
    {0.9020000000000007, {0.839321559752, 0.321774101856, 0.264872572688}},
    {0.9040000000000007, {0.837109316104, 0.317586028512, 0.262250749776}},
    {0.9060000000000007, {0.834897072456, 0.313397955168, 0.259628926864}},
    {0.9080000000000007, {0.832437169368, 0.308865369264, 0.257129766968}},
    {0.9100000000000007, {0.82994188636, 0.30428356728, 0.25464813036}},
    {0.9120000000000007, {0.827446603352, 0.299701765296, 0.252166493752}},
    {0.9140000000000007, {0.824951320344, 0.295119963312, 0.249684857144}},
    {0.9160000000000007, {0.822456037336, 0.290538161328, 0.247203220536}},
    {0.9180000000000007, {0.819960754328, 0.285956359344, 0.244721583928}},
    {0.9200000000000007, {0.81746547132, 0.28137455736, 0.24223994732}},
    {0.9220000000000007, {0.814970188312, 0.276792755376, 0.239758310712}},
    {0.9240000000000007, {0.812474905304, 0.272210953392, 0.237276674104}},
    {0.9260000000000007, {0.809979622296, 0.267629151408, 0.234795037496}},
    {0.9280000000000007, {0.807484339288, 0.263047349424, 0.232313400888}},
    {0.9300000000000007, {0.80498905628, 0.25846554744, 0.22983176428}},
    {0.9320000000000007, {0.802493773272, 0.253883745456, 0.227350127672}},
    {0.9340000000000007, {0.799998490264, 0.249301943472, 0.224868491064}},
    {0.9360000000000007, {0.797503207256, 0.244720141488, 0.222386854456}},
    {0.9380000000000007, {0.794942196024, 0.239939186432, 0.219943058936}},
    {0.9400000000000007, {0.79218400012, 0.23456077216, 0.21761278668}},
    {0.9420000000000007, {0.789425804216, 0.229182357888, 0.215282514424}},
    {0.9440000000000007, {0.786667608312, 0.223803943616, 0.212952242168}},
    {0.9460000000000007, {0.783909412408, 0.218425529344, 0.210621969912}},
    {0.9480000000000007, {0.781151216504, 0.213047115072, 0.208291697656}},
    {0.9500000000000007, {0.7783930206, 0.2076687008, 0.2059614254}},
    {0.9520000000000007, {0.775634824696, 0.202290286528, 0.203631153144}},
    {0.9540000000000007, {0.772876628792, 0.196911872256, 0.201300880888}},
    {0.9560000000000007, {0.770118432888, 0.191533457984, 0.198970608632}},
    {0.9580000000000007, {0.767360236984, 0.186155043712, 0.196640336376}},
    {0.9600000000000007, {0.76460204108, 0.18077662944, 0.19431006412}},
    {0.9620000000000007, {0.761843845176, 0.175398215168, 0.191979791864}},
    {0.9640000000000007, {0.759085649272, 0.170019800896, 0.189649519608}},
    {0.9660000000000007, {0.756327453368, 0.164641386624, 0.187319247352}},
    {0.9680000000000007, {0.753569257464, 0.159262972352, 0.184988975096}},
    {0.9700000000000008, {0.75066046296, 0.15157847072, 0.18275983056}},
    {0.9720000000000008, {0.747661309296, 0.142510316672, 0.180591362656}},
    {0.9740000000000008, {0.744662155632, 0.133442162624, 0.178422894752}},
    {0.9760000000000008, {0.741663001968, 0.124374008576, 0.176254426848}},
    {0.9780000000000008, {0.738663848304, 0.115305854528, 0.174085958944}},
    {0.9800000000000008, {0.73566469464, 0.10623770048, 0.17191749104}},
    {0.9820000000000008, {0.732665540976, 0.097169546432, 0.169749023136}},
    {0.9840000000000008, {0.729666387312, 0.088101392384, 0.167580555232}},
    {0.9860000000000008, {0.726667233648, 0.079033238336, 0.165412087328}},
    {0.9880000000000008, {0.723668079984, 0.069965084288, 0.163243619424}},
    {0.9900000000000008, {0.72066892632, 0.06089693024, 0.16107515152}},
    {0.9920000000000008, {0.717669772656, 0.051828776192, 0.158906683616}},
    {0.9940000000000008, {0.714670618992, 0.042760622144, 0.156738215712}},
    {0.9960000000000008, {0.711671465328, 0.033692468096, 0.154569747808}},
    {0.9980000000000008, {0.708672311664, 0.024624314048, 0.152401279904}},
    {1.0000000000000007, {0.705673158, 0.01555616, 0.150232812}}};

/*
 * Map a given value <x> to a RGB value in the given colormap.
 */
std::array<double, 3> mapToColor(double x, double min, double max, const std::string& colormap_name) {

    // Normalize value to [0,1] range.
    x = std::max(std::min(x, max), min);
    x = (x - min) / (max - min);

    // Determine the colormap.
    std::vector<std::pair<double, Vector3>> colormap;
    if (colormap_name == "coolwarm") {
        colormap = COOLWARM;
    } else if (colormap_name == "seismic") {
        colormap = SEISMIC;
    } else if (colormap_name == "hot") {
        colormap = HOT;
    }

    // Find the two colors in the colormap that x falls in between.
    int v1 = 1;
    while (colormap[v1].first < x) {
        v1 += 1;
    }
    v1 -= 1;
    int v2 = v1 + 1;

    Vector3 c1 = colormap[v1].second;
    Vector3 c2 = colormap[v2].second;

    // Interpolate between the two colors.
    Vector3 c = c1 + (c2 - c1) * (x - colormap[v1].first) / (colormap[v2].first - colormap[v1].first);
    std::array<double, 3> color = {c[0], c[1], c[2]};
    return color;
}

/*
 * Computes the hue, saturation, and value of the RGB color model.
 */
std::array<double, 3> hsv(double h, double s, double v) {

    double r = 0;
    double g = 0;
    double b = 0;
    if (s == 0) {
        r = v;
        g = v;
        b = v;
    } else {
        h = (h == 1 ? 0 : h) * 6;
        int i = std::floor(h);
        double f = h - i;
        double p = v * (1 - s);
        double q = v * (1 - (s * f));
        double t = v * (1 - s * (1 - f));
        switch (i) {
        case 0:
            r = v;
            g = t;
            b = p;
            break;

        case 1:
            r = q;
            g = v;
            b = p;
            break;

        case 2:
            r = p;
            g = v;
            b = t;
            break;

        case 3:
            r = p;
            g = q;
            b = v;
            break;

        case 4:
            r = t;
            g = p;
            b = v;
            break;

        case 5:
            r = v;
            g = p;
            b = q;
            break;

        default:
            break;
        }
    }

    return {r, g, b};
}
